caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Denis Berthod" <denis.berthod@gmail.com>
To: caml-list@yquem.inria.fr
Subject: Re: LexiFI and conversion to date
Date: Tue, 25 Jul 2006 09:50:47 +0200	[thread overview]
Message-ID: <889380120607250050x31c7fe2bm201daf13c030445@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 507 bytes --]

> Folks,
>
> I see this in the LexiFI presentation:
>
> # let t1 = 2002-12-20T16:00 (* ISO 8601 notation *) ;;
> val t1 : date = 2002-12-20T16:00:00
>
> What type of a value is 2002-12-20T16:00 and how does it get
> translated into a date?
>

Hello,
We use an *extended* version of the Ocaml compilers in order to describe
complex financial products. In particular, we added a  native date type in
MLFi, our version of OCaml.

So the type of 2002-12-20T16:00 is date as shown by the toplevel answer.

Denis

[-- Attachment #2: Type: text/html, Size: 707 bytes --]

             reply	other threads:[~2006-07-25  7:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-25  7:50 Denis Berthod [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-07-24 23:28 Joel Reymont

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=889380120607250050x31c7fe2bm201daf13c030445@mail.gmail.com \
    --to=denis.berthod@gmail.com \
    --cc=caml-list@yquem.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;
as well as URLs for NNTP newsgroup(s).