We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
does CCList need this function:
fun f -> function | [] -> None | h::t -> Some (CCList.fold_left f h t)
? i've seen this called 'reduce'. it's just a minor specialization of fold but is quite frequent in my personal experience.