Type-inference by yourselfPart 4 - Higher-order functionsTutorial (draft)ExercisesDocumentation and user's manualTable of contentsOCaml programs

Exercises

  • Exercise 1 - Logarithms
  • Exercise 2 - An accumulator
  • Exercise 3 - Operations over functions
  • Exercise 4 - Filter
  • Exercise 5 - Newton's method
  • Assume an Objective Caml toplevel in which the module  List_1  has been loaded and opened. This provides functions as  cons_list  and so on and they can be used with short names instead of long ones in dotted notation (that is, for instance  cons_list  instead of  List_1.cons_list ).


    Latest update : October 5, 2006
    This document was translated from LaTeX by Hyperlatex 2.5, which is not the latest version of Hyperlatex.

    Type-inference by yourselfPart 4 - Higher-order functionsTutorial (draft)ExercisesDocumentation and user's manualTable of contentsOCaml programs