Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Kamil Shakirov <kamils@inbox.ru>
To: caml-list@inria.fr
Cc: kamil@tornado.force
Subject: [Caml-list] q
Date: Mon, 05 Jan 2004 23:00:12 +0300	[thread overview]
Message-ID: <m21xqejhdf.fsf@tornado.force> (raw)

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


             reply	other threads:[~2004-01-06 23:56 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-05 20:00 Kamil Shakirov [this message]
2004-01-07  7:08 ` [Caml-list] Tuareg Christophe TROESTLER
2004-01-08  2:09   ` Kamil Shakirov
2004-01-08 14:13     ` Albert Cohen
2004-01-08 14:46       ` Jérôme Marant
2004-01-09  7:27         ` Kamil Shakirov
2004-01-08  2:18   ` Kamil Shakirov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m21xqejhdf.fsf@tornado.force \
    --to=kamils@inbox.ru \
    --cc=caml-list@inria.fr \
    --cc=kamil@tornado.force \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox