Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
tankorsmash
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
tankorsmash
2y ago
I'm not sure what the other commenter's point is. If you're checking if the error is nil, or pattern matching on the result of a call, it feels like exactly the same. In your CrabLang example, you don't have warnings on
2.
▲
by
tankorsmash
2y ago
I didn't get anything close to that from your original message. I thought you meant "I write functional JS, but am wondering why a language like clojure or OCaml isn't more popular"
3.
▲
by
tankorsmash
2y ago
https://combinatorylogic.com/table.html it's hard to read, but there's a ton.
4.
▲
by
tankorsmash
4y ago
To me, this doesn't seem like it has much to do with Unison at all beyond being a new FPL, could you elaborate a bit?
5.
▲
by
tankorsmash
4y ago
Which part of Haskell is impure?
6.
▲
by
tankorsmash
4y ago
Not quite turtle, but Elm (a pure FP) has something prettier, a full 3d renderer https://package.elm-lang.org/packages/ianmackenzie/elm-3d-sc... Demo: https://ianmackenzie.github.io/elm-3d-scene&#x
7.
▲
by
tankorsmash
4y ago
> Instead of two ints, now your function takes two maybe-ints and crashes at runtime if they're not there. The idea in Haskell (and many more, I'm sure), is that if you take a maybe-int, you can't get the int without unpac
8.
▲
by
tankorsmash
4y ago
Is that gatekeeping? It reads to me like they're saying it's not enough to just use a few functions to it FP. Their point seems to be that it's more than just using some functions, which seems reasonable.
9.
▲
by
tankorsmash
4y ago
> It's not "if you're used to procedural programming" - FP is simply hard for people to reason about. It's relatively straightforward once you understand the patterns and idioms, just like procedural programming.
10.
▲
by
tankorsmash
5y ago
Are you thinking about prejudice instead?
11.
▲
by
tankorsmash
14y ago
I'm pretty sure anyone would not be too upset if that suddenly started happening.