Sam A. Horvath-Hunt

Results 206 issues of Sam A. Horvath-Hunt

Borrowing nomenclature from `apFirst` and `apSecond`.

In a fully ESM project: ``` import { sum } from "fp-ts-std/Array"; ^^^ SyntaxError: Named export 'sum' not found. The requested module 'fp-ts-std/Array' is a CommonJS module, which may not...

blocked

```js unsafeUnwrap(fromStringO("//x")) = new URL("https://x") ``` The only bug I can see this causing is that `isURLPath` would fail its check. A generalised path parser for `URL` which `URLPath` could...

bug

Ideally they're generated. This'll mean cleaning up and exposing tshm-docs-ts.

documentation

`exit`, `die`, etc.

WIP locally. I consider this blocking the `Enum` module introduced in 0.17 from being considered stable, alongside some real-world testing.

For `DOM`. Roughly: ```ts const getClassNameAttr = (x: Element): IO => () => x.className export const getClassNames: (x: Element) => IO = flow( getClassNameAttr, IO.map(flow(Str.words, A.fromReadonly)), ) ```

https://github.com/samhh/bukubrow-host/actions/runs/4204023843/jobs/7294144926

It looks like this will stop working in Chromium-based browsers in January 2023 as v2 support is dropped.