Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
Re: [Caml-list] Applications written in O'Caml
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2002-04-12 (17:04)
From: Maxence Guesdon <maxence.guesdon@i...>
Subject: Re: [Caml-list] Simple question

You want your accum to be a 'a list, not 'a, so use it as a list :

let rec apply_fun_list x f_list accum =
  match f_list with
     h::t ->
           apply_fun_list x t (accum@(h x))
   | [] ->

Maxence Guesdon
To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: