Sam A. Horvath-Hunt

Results 399 comments of Sam A. Horvath-Hunt

I personally would like to state my support for option 2, even if that's as a non-default option. I think if you're using a loader with Webpack then you expect...

I'd argue otherwise @IMax153. Taking fp-ts as an example, I import from `fp-ts/Option`, _not_ `fp-ts/Option.ts`. The file extension is in a sense an implementation detail only relevant to the bundler...

For the reasons I've posed I believe it would be, else the enforcement isn't practicable. It's the same reason linters et al always have opt-out directives. As for implementation, as...

Ideally I'd be able to granularly ignore on a line-by-line basis a la `eslint-disable[-next]-line` as I have a few exports that don't need examples e.g. newtypes. I'd suggest that's the...

I wanted to learn how to write a parser in Haskell so I've written this over the last two weeks. I'm still working on it, but it already covers probably...

@imcotton I think you're right that this covers that use case as well. For my mental model, I think this PR is equivalent to: ```hs do x

`chain` is very fundamental to the library and I think any benefit in renaming it would be outweighed by the cost of deprecation to everyone who's already written code against...

Some way to find `chain` by searching for "flatMap" for example in the docs would be handy, likewise as you've said a "this is also sometimes known by" line. :+1:

^ I was playing about with this for [fp-ts-std](https://github.com/samhh/fp-ts-std/). I haven't tested it much yet but it's worth seeing if we could take advantage of wildcards in conditional exports: ```json...

I've noticed in `3.0.0` branch there's different `target`s in the relevant `tsconfig`s. I'm not sure this makes sense: I may be using a modern bundler but need libraries to ship...