caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Christophe TROESTLER <Christophe.Troestler+ocaml@umh.ac.be>
To: circularfunc@gmail.com
Cc: OCaml Mailing List <caml-list@inria.fr>
Subject: Re: [Caml-list] is there a switch or cond-statement? nested functions?
Date: Wed, 03 Sep 2008 19:24:40 +0200 (CEST)	[thread overview]
Message-ID: <20080903.192440.782875784647892171.Christophe.Troestler+ocaml@umh.ac.be> (raw)
In-Reply-To: <d5f6b0140809031008k216b1ce6s8cc7b6a2f588ecaa@mail.gmail.com>

On Wed, 3 Sep 2008 19:08:33 +0200, circ ular wrote:
> 
> thanks, the type problem is solved. but is there a way to write nested
> functions? so the powerf isn't exposed outwards...
> 
> and how can I rewrite the if statements in a case or cond way? pattern
> mathcing is only on types right? cond a la scheme would be nice.
> (...)

May I suggest

1. You read http://www.ocaml-tutorial.org/ and at least chap 1-4 of
   http://caml.inria.fr/pub/docs/oreilly-book/html/index.html  That
   will clear up most of your questions.

2. You direct subsequent questions to the beginner's list
   http://groups.yahoo.com/group/ocaml_beginners where you will
   receive proper help for your concerns.

Thanks,
C.


  reply	other threads:[~2008-09-03 17:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-03 17:08 circ ular
2008-09-03 17:24 ` Christophe TROESTLER [this message]
2008-09-03 17:38   ` [Caml-list] " Daniel Bünzli

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=20080903.192440.782875784647892171.Christophe.Troestler+ocaml@umh.ac.be \
    --to=christophe.troestler+ocaml@umh.ac.be \
    --cc=caml-list@inria.fr \
    --cc=circularfunc@gmail.com \
    /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;
as well as URLs for NNTP newsgroup(s).