The Next Big Language
Jonathan M Davis
jmdavisProg at gmx.com
Thu Oct 21 17:21:40 PDT 2010
On Thursday, October 21, 2010 17:05:45 retard wrote:
> Thu, 21 Oct 2010 16:51:03 -0700, Jonathan M Davis wrote:
> > Now, as I said, C++ and D are the only languages I know of which use
> > templates. That doesn't mean that other languages do not. Looking at the
> > wikipedia page on template metaprogramming, it lists other languages
> > such as Eiffel and ML, so presumably those languages have templates of
> > some kind.
>
> I'm not aware of templates in Eiffel or ML, but the WP article also
> mentioned Haskell (which you nimbly left out of the list) which indeed
> has been extended to support templates in Template Haskell. There are
> several similar kind of languages, e.g. MetaOCaml. The original Template
> Haskell paper lists some of these.
LOL. Nimbly huh. Well, there was no need to list them all, and it felt really
weird to list Haskell when I've used Haskell a fair bit and never heard of any
templates of any kind in Haskell. For the purposes of the discussion though, I
don't suppose that it matters particularly. The point is that according to
wikipedia there are languages other than C++ and D which have template
metaprogramming capabilities (and therefore have to have templates).
- Jonathan Mdavis
More information about the Digitalmars-d
mailing list