Sam A. Horvath-Hunt

Results 399 comments of Sam A. Horvath-Hunt

Returning specific sum members is a code smell IMO.

I've yet to come across a scenario with sum types where it's not a code smell because of an issue with code structure somewhere else. Just because we can do...

@mikearnaldi Could we flip and curry `fb` and `f` there, matching Haskell? I don't think there's ever a case where non-unary functions are advantageous.

> Inference would be seriously compromised, TypeScript is very different from Haskell and in TS non-unary functions are extremely useful. Flipping `fb` won't allow inference of `B`. Ah. So I...

I'm not sure if this is expected behaviour, however I've observed the following. Maybe it'll be helpful for someone else. I'm trying to migrate a monorepo to ESM. There are...

I'm also seeing this issue with v4.

@JLambertazzo Would that be backwards-compatible with uses of `Record`?

`environment.loginShellInit` is run, however `tty` replies with `not a tty`, failing to tty1 check. I guess it's a "login shell" rather than an "interactive shell" (NB my terminology is probably...

This is me giving up: https://github.com/samhh/dotfiles/commit/e89bfb5b9686bf4e5eace3d22fefb67779326a55

Fixed in a hacky way in Nix 2.13: https://github.com/NixOS/nix/pull/7606