Changeset 13726 for src/Pugs/Prim/List.hs
- Timestamp:
- 09/29/06 20:03:10 (2 years ago)
- Files:
-
- 1 modified
-
src/Pugs/Prim/List.hs (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Pugs/Prim/List.hs
r13717 r13726 2 2 3 3 module Pugs.Prim.List ( 4 op0Zip, op0Each, op 1Pick, op1Sum,4 op0Zip, op0Each, op0RoundRobin, op1Pick, op1Sum, 5 5 op1Min, op1Max, op1Uniq, 6 6 op2ReduceL, op2Reduce, op2Grep, op2Map, op2Join, … … 22 22 op0Each :: [Val] -> Eval Val 23 23 op0Each = fmap (VList . concat . op0Zip') . mapM fromVal 24 25 op0RoundRobin :: [Val] -> Eval Val 26 op0RoundRobin = fmap (VList . fst . partition defined . concat . op0Zip') . mapM fromVal 24 27 25 28 op0Zip' :: [[Val]] -> [[Val]]
