part2 - | h::t -> fold f (f acc h) t

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
let rec fold f acc ls = match ls with [] -> acc
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: | h::t -> fold f (f acc h) t...
View Full Document

This note was uploaded on 10/25/2009 for the course CS 3110 at Cornell University (Engineering School).

Ask a homework question - tutors are online