List comprehensions: Difference between revisions
→{{header|AppleScript}}: Updated concatMap
m (→{{header|REXX}}: addec/changed some comments and whitespace, changed indentation of some output.) |
(→{{header|AppleScript}}: Updated concatMap) |
||
Line 228:
-- (>>=) :: Monad m => m a -> (a -> m b) -> m b
on |>>=|(xs, f)
end |>>=|
--
on
tell
repeat with x in
end
end tell
return acc
end concatMap
-- enumFromTo :: Int -> Int -> [Int]
|