Changes between Version 5 and Version 6 of PatternSynonyms

Show
Ignore:
Timestamp:
08/15/11 14:58:32 (22 months ago)
Author:
augustss
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PatternSynonyms

    v5 v6  
    139139      pattern Cons x xs = x:xs 
    140140      append = (++) 
     141 
     142headOf :: (ListLike l) => l a -> Maybe a 
     143headOf Nil = Nothing 
     144headOf (Const x _) = Just x 
    141145}}}