caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* Re: LexiFI and conversion to date
@ 2006-07-25  7:50 Denis Berthod
  0 siblings, 0 replies; 2+ messages in thread
From: Denis Berthod @ 2006-07-25  7:50 UTC (permalink / raw)
  To: caml-list

[-- 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 --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* LexiFI and conversion to date
@ 2006-07-24 23:28 Joel Reymont
  0 siblings, 0 replies; 2+ messages in thread
From: Joel Reymont @ 2006-07-24 23:28 UTC (permalink / raw)
  To: caml-list

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?

	Thanks, Joel

--
http://wagerlabs.com/


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-07-25  7:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-25  7:50 LexiFI and conversion to date Denis Berthod
  -- strict thread matches above, loose matches on Subject: below --
2006-07-24 23:28 Joel Reymont

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).