On Wed, Apr 14, 2010 at 2:32 AM, Ivan Miljenovic <ivan.miljeno...@gmail.com> wrote: > Why not use Maybe for func1 in the first place? Or are you wanting to > automagically make all uses of head, tail, etc. safe?
In which case there is already the 'safe' package: http://hackage.haskell.org/package/safe _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe