Changeset 17871 for src/Pugs/Prim
- Timestamp:
- 09/16/07 15:14:34 (14 months ago)
- Files:
-
- 1 modified
-
src/Pugs/Prim/List.hs (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/Pugs/Prim/List.hs
r17868 r17871 335 335 op2First list sub = do 336 336 (VList vals) <- (op2Grep list sub) 337 if (length vals) > 0337 if not (null vals) 338 338 then return $ (vals !! 0) 339 339 else return $ undef
