Sam A. Horvath-Hunt

Results 399 comments of Sam A. Horvath-Hunt

Thanks for the info and sorry for the delay. I'd be open to patching in ESM support (file extensions and import suffixes) following the call to `tsc` when building, however...

No presupplied type for the locale. This may need more thought.

A "more flexible `under`" may be superfluous if something like #57 happens. At that point you could define something like: ```js every = f => flow(chars, A.every(f)) ``` In any...

Presumably due to TS inference being LTR it'll infer lambdas pretty poorly?

Deeply merging makes me nervous knowing TypeScript. I wonder if there might be value in a `PartialSemigroup` typeclass. It'd be bridging the same gap but potentially in a more general...

Thanks again! `anyPass` and `allPass` have moved to [Predicate](https://samhh.github.io/fp-ts-std/modules/Predicate.ts.html). `either` can now point to [or](https://gcanti.github.io/fp-ts/modules/Predicate.ts.html#or).

The example you provided doesn't typecheck: ```ts pipe({ a: 1, b: 'two' }, pick(['a', 'c'])) ``` ``` Type '"c"' is not assignable to type '"a" | "b"'. ```

Your import should be from `fp-ts-std/Record`.

That website doesn't work in my browser so I can't offer very specific advice, but per the README: > fp-ts-std is published with both ESM and CJS modules. The import...

With fp-ts' typeclass encoding there are special ["constrained" variants of typeclasses](https://gcanti.github.io/fp-ts/guides/code-conventions.html#what-a-c-suffix-means-eg-functor2c-vs-functor2) to support multiple type arguments, such as `Apply2C`, which is used by for example `Tuple`. Note that this doesn't...