* LexiFI and conversion to date
@ 2006-07-24 23:28 Joel Reymont
2006-07-25 0:18 ` [Caml-list] " Daniel Bünzli
0 siblings, 1 reply; 4+ 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] 4+ messages in thread
* Re: LexiFI and conversion to date
@ 2006-07-25 7:50 Denis Berthod
0 siblings, 0 replies; 4+ 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] 4+ messages in thread
end of thread, other threads:[~2006-07-25 7:50 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-24 23:28 LexiFI and conversion to date Joel Reymont
2006-07-25 0:18 ` [Caml-list] " Daniel Bünzli
2006-07-25 0:38 ` Joel Reymont
2006-07-25 7:50 Denis Berthod
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox