Sha256: 9ad033f97924916d1fac3039db04ae1f6324a47cbf82a21ff10418ac7ac01a79
Contents?: true
Size: 210 Bytes
Versions: 312
Compression:
Stored size: 210 Bytes
Contents
module Accumulate (accumulate) where accumulate :: (a -> b) -> [a] -> [b] accumulate f = accumulate' [] where accumulate' acc [] = reverse acc accumulate' acc (x:xs) = accumulate' (f x : acc) xs
Version data entries
312 entries across 312 versions & 1 rubygems