fp-ts-std icon indicating copy to clipboard operation
fp-ts-std copied to clipboard

The missing pseudo-standard library for fp-ts.

Results 49 fp-ts-std issues
Sort by recently updated
recently updated
newest added

For String, Number, and Date.

Or something solving that use case. Other array functions too. A more flexible `under` would be handy.

A right-to-left `compose` (`flow` with reversed function order) seems to be possible: ```git diff --git a/src/Function.ts b/src/Function.ts index 254e05c..1f4cb5b 100644 --- a/src/Function.ts +++ b/src/Function.ts @@ -637,3 +637,32 @@ export const...

feedback wanted

It's quite common that exports are removed from fp-ts-std because they've been duplicated in fp-ts, for example the many removals from `String` in 0.11.0 following the addition of the `string`...

This can't currently be represented at the type-level if we want to support any string character. It'd probably need to be a newtype. Would it be ergonomic? A `chars ::...

feedback wanted

https://devblogs.microsoft.com/typescript/announcing-typescript-4-7-beta/#instantiation-expressions Can do away with some thunks.

https://devblogs.microsoft.com/typescript/announcing-typescript-4-7-beta/#package-json-exports-imports-and-self-referencing Could improve the manifest configuration, it's a bit hacky at the moment.

Adapts [lodash's mergeWith](https://lodash.com/docs/4.17.15#mergeWith) using fp-ts idioms & type safety ```ts import * as S from "fp-ts/string"; const test = mergeWith( { a: { b: 'hello' } }, { a: {...

Changed links which references fp-ts-std where it should be fp-ts. Removed links to functions that does not exist. anyPass : refers to anyPass. No such function anywhere. allPass : refers...