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

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2004-01-06 (23:56)
From: Kamil Shakirov <kamils@i...>
Subject: [Caml-list] q
Hello List,

I use `tuareg' mode for editing my OCaml sources. I want to roll up
long functions in one line (`let'--definition). I usually place many
small auxiliary functions in a body of a main function,
for instance:

let complex_function arg1 arg2 ... =
  let fun_aux1 arg1 arg2 ... =        
    bla bla bla
  let fun_aux2 arg1 arg2 ... =        
    bla bla bla
  let fun_aux3 arg1 ... =        
    bla bla bla
  fun_aux3 arg2
    (fun_aux2 (fun_aux arg1 arg2) arg1)

How can I do this? Is there any additional xemacs package for this
purpose?  Thanks.

My xemacs version:
   XEmacs 21.4 (patch 14) "Reasonable Discussion" (linux)
   "Tuareg Version 1.41.1"


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