[Haskell-cafe] Bencoding in Haskell
Sebastian Sylvan
sebastian.sylvan at gmail.com
Wed Apr 20 16:57:21 EDT 2005
On 4/20/05, Sebastian Sylvan <sebastian.sylvan at gmail.com> wrote:
> -- parses an association list of the contents
> -- of a dictionary
> beDicContents :: Parser (String, Bencode)
> beDicContents =
> do (BEString key) <- beString
> val <- beParse
> return (String, Bencode)
bah, I should get some sleep :-)
That should be "return (key, val)"
/S
--
Sebastian Sylvan
+46(0)736-818655
UIN: 44640862
More information about the Haskell-Cafe
mailing list