Changeset 19959 for src/Pugs/Meta

Show
Ignore:
Timestamp:
02/20/08 18:52:10 (9 months ago)
Author:
gwern
Message:

Cleanup Str.hs and Types.hs, and add necessary bytestring updates

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/Pugs/Meta/Str.hs

    r16504 r19959  
    1515_StrClass = mkPureClass "Str" 
    1616    [ "reverse"     ... Str.reverse 
    17     , "join"        ... Str.join 
     17    , "join"        ... Str.intercalate 
    1818    , "chop"        ... (\str -> if Str.null str then str else Str.init str) 
    1919    , "index"       ... (\str sub pos -> fromMaybe (-1) $ Str.findSubstring sub $ Str.drop pos str)