English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    
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: -- (:)
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
  in
  let fun_aux2 arg1 arg2 ... =        
    bla bla bla
  in
  let fun_aux3 arg1 ... =        
    bla bla bla
  in
  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.

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

-- 
 Kamil.

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners