Method contexts

2000-06-27 Thread Marcin 'Qrczak' Kowalczyk
The restriction that a method context must constrain at least one type variable that is quantified there has biten me: class Member c a | c - a where member :: Eq a = c - a - Bool class Member (s a) a = Sequence s a where single :: a - s a instance Member [a] a where member s a = elem a s

ghc graphics library

2000-06-27 Thread Stephen Alden Elliott
Can anyone recommend a good graphics library that compiles simply under GHC and can do simple things like line drawing and window manipulating ver easily? -stephen

perl frontend for ghc

2000-06-27 Thread Matthias Kilian
Hi! I hope this isn't a FAQ, but AFAIR this hasn't been asked in the past: Are there plans to replace the ghc frontend (driver), which is currently written in perl, by a version implemented in Haskell? I know that perl is nice for fiddling with command line options, but on the other hand, it's