Hello,
I've recently uploaded a package that provides some kind of extended
pattern matching. For example, one can use ("abc" ++ xs) as a pattern.
The original motivation was to allow pattern matching on expressions of
embedded languages in cases when the constructors of the underlying data
types are hidden.
For more examples, see http://hackage.haskell.org/package/funpat
Feedback is very welcome!
Cheers,
Gergely
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe