Sha256: 2ad412f91756db352e04d9d4a07c7729adbbae57029342094069770c186c389b
Contents?: true
Size: 361 Bytes
Versions: 52
Compression:
Stored size: 361 Bytes
Contents
(* accumulate given a list and a transformation function, apply the transformation function to each list element and return the results. Caveats: an empty list cannot be transformed do not use List.map from the standard basis *) fun accumulate (f: 'a -> 'b) (xs: 'a list): 'b list = raise Fail "'accumulate' has not been implemented"
Version data entries
52 entries across 52 versions & 1 rubygems