Changeset 3877 for src/Pugs/Prim/List.hs
- Timestamp:
- 05/25/05 15:02:29 (3 years ago)
- svk:copy_cache_prev:
- 5385
- Files:
-
- 1 modified
-
src/Pugs/Prim/List.hs (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/Pugs/Prim/List.hs
r3827 r3877 232 232 mapMn' [] _ = return [] 233 233 234 -- | Takes an int and a list and returns a LoL. 235 -- Ex.: 236 -- > list2LoL 3 [1,2,3,4,5] = [[1,2,3],[4,5,undef]] 234 {-| 235 Takes an int and a list and returns a LoL. 236 Ex.: 237 238 > list2LoL 3 [1,2,3,4,5] = [[1,2,3],[4,5,undef]] 239 -} 237 240 list2LoL :: Int -> [Val] -> [[Val]] 238 241 list2LoL n list
