From: Kristopher Micinski <krismicinski@gmail.com>
To: "caml-list@inria.fr" <caml-list@inria.fr>
Subject: Re: [Caml-list] Haskell vs OCaml
Date: Mon, 25 Mar 2013 22:57:48 -0400 [thread overview]
Message-ID: <CAF1Sy-EMhumVRt+rnNuKKbm+Scm3gyq42J52pWzHhbzg9G7=4A@mail.gmail.com> (raw)
In-Reply-To: <20130326133703.6b092cded9e0a8d3c71fd5b7@mega-nerd.com>
I agree, but I've found templates in TH to be a bit sticky since they
lack a lot of semantic support. Maybe it's just an aversion to
quasiquoters from examples I've seen. Although I do understand that
within Yesod TH does have quite a bit of success. I guess my only
real point was extrapolating from examples of people I know that use
camlp4 for language extensions (within a research context) and not TH.
I haven't ruminated as to whether TH would suffice for individual
instances (probably so, and the people I know simply prefer OCaml..).
In any case the newer versions of OCaml actually export the compiler,
which makes some other language analysis-y things slightly easier from
an API standpoint.
Kris
On Mon, Mar 25, 2013 at 10:37 PM, Erik de Castro Lopo
<mle+ocaml@mega-nerd.com> wrote:
> Kristopher Micinski wrote:
>
>> Although I haven't personally used it, Camlp4 is nice (and used by
>> research) for implementing language extensions. I'm not sure that GHC
>> is quite as hackable / extensible, but maybe that's just because I'm
>> uninformed about Haskell :-)..
>
> I suspect that Template Haskell is probably very near to Camlp4 in
> terms of capabilities. Its also relatively widely used, for instance
> in the Yesod web framework.
>
> Erik
> --
> ----------------------------------------------------------------------
> Erik de Castro Lopo
> http://www.mega-nerd.com/
>
> --
> Caml-list mailing list. Subscription management and archives:
> https://sympa.inria.fr/sympa/arc/caml-list
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs
next prev parent reply other threads:[~2013-03-26 2:57 UTC|newest]
Thread overview: 60+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <fa.e3jKyg6bl9+vTkPgypQ4ZRzEoos@ifi.uio.no>
2013-03-18 9:08 ` adrian.alexander.may
2013-03-18 9:48 ` Malcolm Matalka
2013-03-18 9:59 ` Gabriel Scherer
2013-03-18 11:05 ` Adrian May
2013-03-18 11:26 ` Kakadu
2013-03-18 18:05 ` [Caml-list] " Chet Murthy
2013-03-20 20:44 ` Jon Harrop
2013-03-20 21:10 ` Yaron Minsky
2013-03-21 0:26 ` Jon Harrop
2013-03-21 20:58 ` Yaron Minsky
2013-03-23 23:33 ` Richard W.M. Jones
2013-03-21 21:55 ` Török Edwin
2013-03-22 17:51 ` Jon Harrop
2013-03-22 18:46 ` Daniel Bünzli
2013-03-22 19:53 ` Jon Harrop
2013-03-22 20:23 ` Daniel Bünzli
2013-03-22 22:13 ` Jon Harrop
2013-03-22 23:35 ` Daniel Bünzli
2013-03-22 23:47 ` Chet Murthy
2013-03-23 0:02 ` Daniel Bünzli
2013-03-23 0:09 ` Chet Murthy
2013-03-23 1:17 ` Jon Harrop
2013-03-23 1:41 ` oliver
2013-03-23 1:15 ` Jon Harrop
2013-03-23 1:50 ` Daniel Bünzli
2013-03-25 1:22 ` Francois Berenger
2013-03-23 1:25 ` oliver
2013-03-19 1:23 ` [Caml-list] " Francois Berenger
2013-03-26 10:36 ` Nicolas Braud-Santoni
2013-03-26 0:49 ` Kristopher Micinski
2013-03-26 2:37 ` Erik de Castro Lopo
2013-03-26 2:57 ` Kristopher Micinski [this message]
2008-08-14 13:26 Damien Guichard
-- strict thread matches above, loose matches on Subject: below --
2008-08-13 12:48 circ ular
2008-08-13 13:27 ` [Caml-list] " Brian Hurt
2008-08-14 0:09 ` Jon Harrop
2008-08-14 2:46 ` David Thomas
2008-08-14 2:52 ` Erik de Castro Lopo
2008-08-14 10:37 ` Paolo Donadeo
2008-08-14 12:17 ` Jon Harrop
2008-08-14 16:44 ` Erik de Castro Lopo
2008-08-14 11:50 ` blue storm
2008-08-14 12:47 ` David Mitchell
2008-08-14 13:28 ` Peng Zang
2008-08-14 14:01 ` Peng Zang
2008-08-15 2:09 ` blue storm
2008-08-14 13:57 ` Jon Harrop
2008-08-14 14:06 ` Peng Zang
2008-08-14 14:21 ` Vincent Hanquez
2008-08-14 14:44 ` Jon Harrop
2008-08-14 20:57 ` Nicolas Pouillard
2008-08-14 21:16 ` Jon Harrop
2008-08-14 21:50 ` Nicolas Pouillard
2008-08-15 0:15 ` Jon Harrop
2008-08-15 1:14 ` Stéphane Glondu
2008-08-17 1:00 ` Luca Saiu
2008-08-19 2:40 ` Paul Snively
2008-08-20 11:33 ` Dr. Thomas Fischbacher
2008-08-21 8:47 ` DooMeeR
2008-08-21 10:59 ` David Teller
2008-08-21 13:52 ` Dr. Thomas Fischbacher
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='CAF1Sy-EMhumVRt+rnNuKKbm+Scm3gyq42J52pWzHhbzg9G7=4A@mail.gmail.com' \
--to=krismicinski@gmail.com \
--cc=caml-list@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