ts-belt
ts-belt copied to clipboard
🔧 Fast, modern, and practical utility library for FP in TypeScript.
Hello! First of all, thank you very much for building ts-belt. It has really attacked what I thought was the biggest problem with fp-ts, namely, bad documentation and incomprehensible errors....
Hey there, loving the library thus far. I was wondering if `pipe` and `flow` support async functions without needing to wrap them in an IIFE. Purify supports this via their...
Hi there! Loved this library. One thing that I had an opinion on was that the namespaces would be more descriptive if they were fully named rather than only abbreviated....
I think it would be helpful if the API documentation would give clarification on whether or not functions such as `F.equals` or `D.merge` are shallow or deep. We can work...
How can I select just a subset of keys from an object? Consider this example in an express app. I want to validate the `body`, `params`, and `query` and want...
Hi @mobily, the library looks really interesting! I'm quite interested in trying it out for future projects. I just have a couple of questions about certain functions, and I hope...
Hi! Is a `D.copy` function planned? Thanks!
From the type definition of `O.Option = A|null|undefined`, where `A` is regarded as `Some`, and `null | undefined` as `None`, I thought that literal null values should behave the same...
`A.dropWhile` drops ALL items matching the predicate. It behaves exactly like `A.reject`: ```ts import {A,D} from "@mobily/ts-belt" console.log( A.dropWhile([0 , 1, 0, 0, 0], (x) => x == 0), //...
Hello everyone, **=> PROBLEM: __: 'Ok' doesn't exists in the Ok object in javascript, but exists in the typescript type.** **=> REASON: the type lies about the real js object**...