hey all,  is there something special about pattern match exceptions?


i'm attempting to catch pattern match failures to use as control for a
production system.


so i want to be able to do something like

catch (head [])   (\e -> print "that theres pattern fail!" )


any suggestions?
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to