Giulio Canti
Giulio Canti
Looks like [ChainRec](https://github.com/gcanti/fp-ts/blob/82e05311a1d0df71829fff75c4cb4f77032d6368/src/ChainRec.ts)
@christianbradley I fail to understand what's the problem with ```ts import { option as O } from 'fp-ts' import { pipe } from 'fp-ts/lib/pipeable' const toUpperCase = (s: string): string...
side by side ```ts import * as E from 'fp-ts/Either' import { pipe } from 'fp-ts/function' declare const getNamePrefix: () => E.Either declare const getFirstName: () => E.Either declare const...
Note that `getMonoidSame` doesn't return a `Monoid` ```ts const M = getMonoidSame() console.log(M.concat(1, M.empty)) // => undefined, should be 1 ```
> I suggest to create two new overloads for keys and toArray taking an Ord as input and to deprecate the current overloads. This was considered while adding `Ord` to...
> If I want to run only the first layer, I can use the run function of that module this solution is "leaking an implementation detail" though
> What implementation detail is leaking? @DenisFrezzato ```ts type ReaderTaskEither = Reader ``` Repro ```ts import { TaskEither } from 'fp-ts/TaskEither' import { Reader } from 'fp-ts/Reader' import { pipe...
@paulvitic you can find some help (and links) in the documentation, so for example: - `monoid.fold`: "Use `concatAll` instead" (https://gcanti.github.io/fp-ts/modules/Monoid.ts.html#fold) - `io.getMonoid`: "Use `getApplicativeMonoid` instead" (https://gcanti.github.io/fp-ts/modules/IO.ts.html#getmonoid) etc... p.s. If you...
In general curried (or data-last) functions are supposed to be used along with `pipe`: ```ts import * as Eq from 'fp-ts/Eq' import { pipe } from 'fp-ts/function' import * as...
fair enough, what do you suggest?