
14 Apr
2010
14 Apr
'10
3:50 a.m.
On Wed, Apr 14, 2010 at 2:32 AM, Ivan Miljenovic
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