[Haskell-cafe] Disjunctive patterns
David Waern
david.waern at gmail.com
Thu Dec 8 14:38:13 CET 2011
2011/12/8 Asger Feldthaus <asger.feldthaus at gmail.com>:
> Haskell doesn't seem to support disjunctive patterns, and I'm having a
> difficult time writing good Haskell code in situations that would otherwise
> call for that type of pattern.
I've also missed this after having done a bit of OCaml coding. Perhaps
if a good syntax can be found (since | is already taken) it could be
added as an extension to GHC.
David
More information about the Haskell-Cafe
mailing list