caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] How to write the fix data type
@ 2012-10-21  4:33 José Romildo Malaquias
  2012-10-21  7:53 ` Gabriel Scherer
  0 siblings, 1 reply; 2+ messages in thread
From: José Romildo Malaquias @ 2012-10-21  4:33 UTC (permalink / raw)
  To: Caml List

Hello.

How can I translate the following data type declaration from Haskell to
OCaml?

  newtype Fix f = In (f (Fix f))


Romildo

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

end of thread, other threads:[~2012-10-21  7:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-21  4:33 [Caml-list] How to write the fix data type José Romildo Malaquias
2012-10-21  7:53 ` Gabriel Scherer

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