Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Peng Zang <peng.zang@gmail.com>
To: caml-list@yquem.inria.fr
Cc: David MENTRE <dmentre@linux-france.org>,
	Goswin von Brederlow <goswin-v-b@web.de>,
	caml-list@inria.fr
Subject: Re: [Caml-list] Subtyping
Date: Tue, 7 Apr 2009 09:39:43 -0400	[thread overview]
Message-ID: <200904070939.46583.peng.zang@gmail.com> (raw)
In-Reply-To: <3d13dcfc0904070041l5d59ec76nc97643fc862f334c@mail.gmail.com>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On Tuesday 07 April 2009 03:41:32 am David MENTRE wrote:
> Hello,
>
> On Tue, Apr 7, 2009 at 07:48, Goswin von Brederlow <goswin-v-b@web.de> 
wrote:
> > In the last 2 weeks I've been playing around with lots of different
> > ways to do the same thing to get a feel for what style suites me
> > best. If you have improvements or alternative ways of doing the two
> > things below let me know.
>
> Well, if you are learning OCaml, I would advise you to read regular
> OCaml code, e.g. the standard library. You'll learn The Right OCaml
> Style(tm).

Certainly reading the standard library is good.  Useful for learning 
techniques, idioms, etc..  I wouldn't say that there is one Right OCaml 
Style(tm) though.  Actually part of why I like OCaml is that it supports 
imperative, object oriented and functional paradigms and you can switch 
between them depending on the task.

Cheers,

Peng
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)

iD8DBQFJ21eifIRcEFL/JewRAptXAJwPec++ykZ6YjmLuUtdfrZw3IrXEwCbBkeB
juGHNPOqJds1rDZd8S1BQEQ=
=foQf
-----END PGP SIGNATURE-----


  reply	other threads:[~2009-04-07 13:39 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-07  5:48 Subtyping Goswin von Brederlow
2009-04-07  7:41 ` [Caml-list] Subtyping David MENTRE
2009-04-07 13:39   ` Peng Zang [this message]
2009-04-07 21:33     ` Goswin von Brederlow
2009-04-07 21:32   ` Goswin von Brederlow
2009-04-08  0:38 ` Goswin von Brederlow
2009-04-08  1:35   ` Jacques Garrigue
2009-04-08  2:43     ` Jacques Garrigue
2009-04-08  5:16     ` Goswin von Brederlow

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=200904070939.46583.peng.zang@gmail.com \
    --to=peng.zang@gmail.com \
    --cc=caml-list@inria.fr \
    --cc=caml-list@yquem.inria.fr \
    --cc=dmentre@linux-france.org \
    --cc=goswin-v-b@web.de \
    /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