Fri, 18 May 2001 12:32:11 -0700, John Meacham <[EMAIL PROTECTED]> pisze:

> this is interesting, could someone give an example of how polymorphic
> recursion would disallow specialization of a function?

test:: Show a => a -> [String]
test x = show x : test [x]

-- 
 __("<  Marcin Kowalczyk * [EMAIL PROTECTED] http://qrczak.ids.net.pl/
 \__/
  ^^                      SYGNATURA ZAST�PCZA
QRCZAK


_______________________________________________
Haskell mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell

Reply via email to