, you can ask ghci about the type of unwrap .
polyToMonoid and paste that into the type sig.
regards,
Bartek Ćwikłowski
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
hListToTuple (HCons x xs) = (x,hListToTuple xs)
Rest of the code (functions eat, arity and mcomp) is presented here:
http://paczesiowa.blogspot.com/2010/03/generalized-zipwithn.html
Regards,
Bartek Ćwikłowski
___
Haskell-Cafe mailing list
Haskell-Cafe
application I wrote a demo app that used hot code
reloading and it maintained gtk state just fine. The code (and video)
is available at http://paczesiowa.dw.pl/ , it worked in ghc 6.8 and
needed hs-plugins, so it won't work now, but the approach should work.
regards,
Bartek Ćwikłowski
is just a left fold over the list of arguments. I've written about
such things here:
http://paczesiowa.blogspot.com/2010/03/generalized-zipwithn.html
regards,
Bartek Ćwikłowski
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org
-recursion.
Are you sure that subset isn't what you really want? With subset you
can already ask questions such as is tabby cat an animal?. If so, my
code (from hpaste) already has this (iirc isDescendentOf ).
regards,
Bartek Ćwikłowski
___
Haskell-Cafe mailing
(and
backtracking) and it has to be done at the type level.
Please use more descriptive type-variable names, type-level code
should also be easy to read:)
regards,
Bartek Ćwikłowski
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org