Changes between Version 5 and Version 6 of PatternSynonyms


Ignore:
Timestamp:
Aug 15, 2011 9:58:32 PM (3 years 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}}}