DEV Community

Discussion on: Getting started with fp-ts: Reader

Collapse
 
gunzip profile image
Danilo Spinelli

I'm used to put deps as the first argument since this lets you partially apply f:

const f = (deps: Dependencies) => (b: boolean): string => (...)