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
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Makofka, Doug (HT-MS) <dmakofka@g...>
Subject: output_value

could someone comment on the difference between:
    do_list (output_value chan) ProductionLst
    output_value chan ProductionLst

 I guess what I'm looking for is an output_value statement that will allow 
me to say:
  let rec IterateProductionList = fun chan ->
    (match (input_value chan:ProductionValue) with
       t -> SomeCrazyFunctionOnProductionValue t;
         IterateProductionList chan
       | [] -> ())

     thanks in advance,
     doug makofka