Enrico Polanski
Enrico Polanski
@steida then something's off here, look at `match` and `fold` for `TaskEither` they are indeed different. ```ts export declare const fold: ( onLeft: (e: E) => T.Task, onRight: (a: A)...
I like the proposal, I think though that we are missing a case? ``` JSON.stringify({x: 2n}); // TypeError: BigInt value can't be serialized in JSON ``` Should we handle both...
This is a relevant typescript [issue](https://github.com/microsoft/TypeScript/issues/30369) for who's interested.
I joined your chat as I'm a fan of irc myself. But fwiw, I'm against spreading the userbase more than it is.
`import { Option } from "fp-ts"` I find this confusing, am I importing the `Option` type or the `Option` namespace? `import { option as Option } from "fp-ts"` This is...
Why do you think it makes more sense to return an empty array?
> 1. Because that's the behaviour of `String.prototype.split`. > 2. `pipe('ab', string.split(''))` returns `['a', 'b']`, which suggests that a `''` separator will split each character, but if `''` is the...
@DrummerHead you can check the [CONTRIBUTING](https://github.com/enricopolanski/functional-programming/blob/master/CONTRIBUTING.md) file for my repo. TLDR: Structure of the content is the same, laws and definitions do not change, code is Giulio's. I added some...
The behavior is correct and consistent with TypeScript's [Partial utility type](https://www.typescriptlang.org/docs/handbook/utility-types.html#partialtype). `Partial` basically transforms `key: A` to `key: A | undefined` or `key?: A`. ```ts interface Foo { foo: string...
Hi, this is a very nice suggestion. How about we have a discussion about all the quizzes on the fp-ts channel or here in the comments and you may open...