Comment by yawaramin
3 months ago
Does Haskell have or-patterns yet? Last I checked OCaml still has the lead in pattern matching power :-)
3 months ago
Does Haskell have or-patterns yet? Last I checked OCaml still has the lead in pattern matching power :-)
https://ghc.gitlab.haskell.org/ghc/doc/users_guide/exts/or_p...
I'm confused about something. According to https://www.haskell.org/ghc/ version 9.10.3 was released on 2025-09-10. How is there a version 9.12.1 listed for the or-patterns feature? Are these versions for different things?
They're versions of the same thing, and 9.12.1 was chronologically before 9.10.3. It looks like you can find the entire chronology at https://www.haskell.org/ghc/blog.html
4 replies →