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…
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"
https://combinatorylogic.com/table.html it's hard to read, but there's a ton.
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?
Which part of Haskell is impure?
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/examples/1.0.0/m...
> 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…
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.
> 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. `age…
Are you thinking about prejudice instead?
I'm pretty sure anyone would not be too upset if that suddenly started happening.
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…
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"
https://combinatorylogic.com/table.html it's hard to read, but there's a ton.
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?
Which part of Haskell is impure?
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/examples/1.0.0/m...
> 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…
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.
> 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. `age…
Are you thinking about prejudice instead?
I'm pretty sure anyone would not be too upset if that suddenly started happening.