[Haskell-cafe] built-in lists vs inductively defined list
José Miguel Vilaça
jmvilaca at di.uminho.pt
Wed May 9 09:45:34 EDT 2007
Hi,
Can someone tell me if would be any difference (beside syntax) between the
built-in Haskell list with [] and : and lists given by a inductive datatype
definition like
data List a = Nil | Cons a (List a)
This is, is any of the compilers doing some special optimizations for the
built-in lists?
Best
Miguel Vilaça
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20070509/5a5f3a7d/attachment.htm
More information about the Haskell-Cafe
mailing list