RE: Why are strings linked lists?

2003-11-30 Thread Kent Karlsson
> > Glynn Clements wrote: > >> What Unicode support? > > >> Simply claiming that values of type Char are Unicode characters > >> doesn't make it so. Well, *claiming* so doesn't make it so. But actually representing characters in such a way that the Unicode conformance rules are followed, makes it

Re: Why are strings linked lists?

2003-11-30 Thread Wolfgang Jeltsch
Am Samstag, 29. November 2003 23:58 schrieb [EMAIL PROTECTED]: > G'day all. > > Quoting Wolfgang Jeltsch <[EMAIL PROTECTED]>: > > I think, I have already said the following on this list. I would also like > > to have different character types for different subsets of Char (e.g., > > ASCII) and a cl

haskell extensions question

2003-11-30 Thread Diego Yanivello
hi, I am using the haskell extensions (in Hugs - Nov 2002) and I have some troubles with that. For example: class A a where a :: a -> String a = const "a" class B b where b :: b -> String b = const "b" instance (A b) => B b where b = a instance B () - In this cas

Re: haskell extensions question

2003-11-30 Thread Ken Shan
Diego Yanivello <[EMAIL PROTECTED]> wrote in article <[EMAIL PROTECTED]> in gmane.comp.lang.haskell.general: > ERROR "Test.hs":12 - Overlapping instances for class "B" > *** This instance : B () > *** Overlaps with : B a > *** Common instance : B () > > but I don't have an instance "A ()" fro