From: Nicolas C. <war...@fr...> - 2004-08-24 07:23:26
|
> Btw, a small feature request for Funarray (and possibly > the other structures where it applies): How about a > "bounded" iter function e.g. "iter_range"? The lack of > such a function on Arrays/Maps/... has always annoyed me. and also map_range, fold_range, .... Theses ops should also be useful on all containers. Guess what ? I think it's a good job for enums :) What about : module Enum ---- val range : t -> int -> int -> t Write once, use alot Nicolas |