[Haskell-cafe] a way to convert partial functions to functions with Maybe's

Roel van Dijk vandijk.roel at gmail.com
Wed Apr 14 03:50:04 EDT 2010

On Wed, Apr 14, 2010 at 2:32 AM, Ivan Miljenovic
<ivan.miljenovic at 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:

More information about the Haskell-Cafe mailing list