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
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
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
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