Sam A. Horvath-Hunt

Results 399 comments of Sam A. Horvath-Hunt

Categories are added in JSDoc: `@category example`

I can't find a consistent way to categorise for example all of the exports in Array, either in fp-ts or in Haskell's documentation. Here's another approach: - 0 Fundamental -...

Another approach: - `0 Types` - The fundamental types of the module in question. When you see this category, it should be the first place you look. - `1 Bindings`...

A further complication: With 0.12.0 defining new typeclass instances and typeclass utilities, there needs to be at least two further categories.

LocalStorage doesn't exist on Node. Going to need to think about how to communicate that, or put it into a different package. :thinking:

I hoped we could define a more generic interface in which the user provides `Storage` input, but this'll actually throw for the user if e.g. they've disabled all third-party data...

Repro method: "Block all cookies" in Chromium. Open any webpage and open the console. Notably we can thunk the storage argument to enable us to catch anything that arises from...

N.B. There's [fp-ts-local-storage](https://gcanti.github.io/fp-ts-local-storage/modules/index.ts.html) but it's scoped to local storage and doesn't handle exceptions.

In Chromium, if you enable or disable local storage (see above repro) it only affects pages that are loaded after that point. Pages that were already loaded retain their permissions...

Would be useful to have a comparison doc for Lodash as well.