* 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; 3+ 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] 3+ messages in thread
* Re: [Caml-list] LexiFI and conversion to date 2006-07-24 23:28 LexiFI and conversion to date Joel Reymont @ 2006-07-25 0:18 ` Daniel Bünzli 2006-07-25 0:38 ` Joel Reymont 0 siblings, 1 reply; 3+ messages in thread From: Daniel Bünzli @ 2006-07-25 0:18 UTC (permalink / raw) To: Joel Reymont; +Cc: caml-list > What type of a value is 2002-12-20T16:00 and how does it get > translated into a date? This kind of value does not exist in ocaml. From <http:// www.lexifi.com/resources.html> : > MLFi is implemented as an extension of Caml So they must use some kind of pre-processor, most likely camlp4 [1]. Best, Daniel [1] The official documentation is here <http://caml.inria.fr/pub/docs/ manual-camlp4/index.html>, but more recent news can be found there <http://caml.inria.fr/pub/ml-archives/ caml-list/2006/05/fbc206cc8ec3a8d73f523e18a90759e3.fr.html>. ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Caml-list] LexiFI and conversion to date 2006-07-25 0:18 ` [Caml-list] " Daniel Bünzli @ 2006-07-25 0:38 ` Joel Reymont 0 siblings, 0 replies; 3+ messages in thread From: Joel Reymont @ 2006-07-25 0:38 UTC (permalink / raw) To: Daniel Bünzli; +Cc: caml-list I guess my question is how can you make camlp4 recognize the below as the date type? Thanks, Joel On Jul 25, 2006, at 1:18 AM, Daniel Bünzli wrote: > >> What type of a value is 2002-12-20T16:00 and how does it get >> translated into a date? > > This kind of value does not exist in ocaml. From <http:// > www.lexifi.com/resources.html> : -- http://wagerlabs.com/ ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-07-25 0:38 UTC | newest] Thread overview: 3+ 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
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox