On 13 April 2010 20:02, Ozgur Akgun <[email protected]> wrote: > func1 :: T -> T > func1 A = B > > func1Fixed :: T -> Maybe T > func1Fixed A = Just B > func1Fixed _ = Nothing
Why not use Maybe for func1 in the first place? Or are you wanting to automagically make all uses of head, tail, etc. safe? -- Ivan Lazar Miljenovic [email protected] IvanMiljenovic.wordpress.com _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
