From: Christophe TROESTLER <debian00@tiscali.be>
To: alenhart@cs.ohiou.edu
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] complex numbers
Date: Fri, 27 Feb 2004 17:36:49 +0100 (CET) [thread overview]
Message-ID: <20040227.173649.111156777.debian00@tiscali.be> (raw)
In-Reply-To: <20040227131825.GB827@peuter>
On Fri, 27 Feb 2004, Andrew Lenharth <alenhart@cs.ohiou.edu> wrote:
>
> let y = mul x {re = -1.0; im = -1.0};;
To ease the notations, you can also define infix operators for complex
functions. E.g. for the above:
let ( *: ) = mul;;
let y = x *: {re = -1.0; im = -1.0};;
ChriS
-------------------
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
next prev parent reply other threads:[~2004-02-27 16:36 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-27 6:04 Alexander Danilov
2004-02-27 13:18 ` Andrew Lenharth
2004-02-27 16:36 ` Christophe TROESTLER [this message]
[not found] ` <20040227131719.GA827@peuter>
[not found] ` <403F5ABD.1090402@fssg.st-oskol.ru>
2004-02-27 15:36 ` Andrew Lenharth
-- strict thread matches above, loose matches on Subject: below --
2003-04-09 10:59 [Caml-list] Complex Numbers David Gray
2003-04-09 11:53 ` sebastien FURIC
2001-03-28 2:19 David McClain
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=20040227.173649.111156777.debian00@tiscali.be \
--to=debian00@tiscali.be \
--cc=alenhart@cs.ohiou.edu \
--cc=caml-list@inria.fr \
/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