On 10/3/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
I wanted to try using OOHaskell as a library, but I've run into some
problems I don't understand.
I downloaded the copy from:
http://homepages.cwi.nl/~ralf/OOHaskell/
both HList and OOHaskell are now available via DARCS
I am using a heterogenous list as in [1] all elements of which are of
a given class C.
Since foo maps all class members to Int, hMapOut should be a
straight-forward way to produce homogenous Int lists from heterogenous
CLists:
test :: (CList l) = l - [Int]
test = hMapOut foo
Well, `foo'
thanks, to both of you!
data Fooable is the solution, and also very neat. it took me a
moment to learn the useful fact that a little explicit type
information can be worse than none, in particular with incomplete
contexts. but in the end it worked both without type signatures and
with the
Hi!
I want to interface to JACK (http://jackaudio.org/) from a haskell programm and
i tried to process jack/jack.h (the JACK API) with hsffig and its output with
hsc2hs. I get several error messages from hsc2hs like this:
JACK.hsc:198: error: syntax error before ‘}’ token
JACK.hsc:198: error: