ExercisesPart 4 - Higher-order functionsTutorial (draft)Documentation and user's manualTable of contentsOCaml programs

Tutorial (draft)

  • Functions - Abstraction and application again
  • Higher-order: two well-known examples
  • Higher-order functions
  • Associativity
  • Mapping
  • An accumulator
  • Currying
  • 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 which 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.

    ExercisesPart 4 - Higher-order functionsTutorial (draft)Documentation and user's manualTable of contentsOCaml programs