Re: [Haskell-cafe] character encoding problems with hxt (I think)

2012-10-14 Thread Uwe Schmidt (FH Wedel)
Hi Henry, it's not an encoding error but an error concerning the validation of the document. The document /usr/share/xml/iso-codes/iso_3166_2.xml is not valid with respect to its internal DTD. The opening tag iso_3166_country code=GH on line 3711 does not have a closing tag. That closing tag

Re: [Haskell-cafe] Tutorial: Haskell for the Evil Genius

2012-10-14 Thread Bartosz Milewski
I'm afraid this kind of 5-minute talk makes sense only if you already know a lot about monads or are a computer scientist; not if you're a programmer who wants to learn a new language. For instance, this statement starts making sense only if you've seen a lot of examples of monads (maybe even

Re: [Haskell-cafe] Tutorial: Haskell for the Evil Genius

2012-10-14 Thread Kristopher Micinski
On Sun, Oct 14, 2012 at 1:37 PM, Bartosz Milewski bart...@fpcomplete.com wrote: I'm afraid this kind of 5-minute talk makes sense only if you already know a lot about monads or are a computer scientist; not if you're a programmer who wants to learn a new language. For instance, this statement

Re: [Haskell-cafe] Interleaving type variables in a tree, has this a name ?

2012-10-14 Thread Eric Dedieu
data ANode a b = ANode a [BNode a b] [BNode a b] data BNode a b = BNode b [ANode a b] [ANode a b] Wouldn't the following work as well and be simpler to handle : data Node a b = Node a [Node b a] [Node b a] Yes ! In fact my actual structure is not symmetrical (some lists must preserve order