Changeset 15296 for src/Pugs/Prim/List.hs
- Timestamp:
- 02/18/07 15:56:10 (21 months ago)
- Files:
-
- 1 modified
-
src/Pugs/Prim/List.hs (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Pugs/Prim/List.hs
r14999 r15296 317 317 _neg1 = return (VInt $ -1) 318 318 _junc = \jtyp -> return . VJunc $ MkJunc jtyp Set.empty Set.empty 319 _'' = return ( VStr "")319 _'' = return (_VStr "") 320 320 _fail = fail $ "reduce is nonsensical for " ++ cast name 321 321 … … 381 381 list <- readRef ref 382 382 strList <- fromVals list 383 return . VStr . concat . intersperse str $ strList383 return . _VStr . concat . intersperse str $ strList 384 384 385 385 sortByM :: (Val -> Val -> Eval Bool) -> [Val] -> Eval [Val]
