Sha256: e9cf545beae202fa37b42a02b76c4bea762747e1a56b667eb2751b6ef89bf610
Contents?: true
Size: 361 Bytes
Versions: 136
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
136 entries across 136 versions & 1 rubygems