creichert/bencode

parsing lists of lists

joeyh opened this issue · 0 comments

joeyh commented

Here's an example of a list of lists in a torrent file: http://www.bittorrent.org/beps/bep_0012.html

That is not currently parsable using this library. Data.BEncode.Parser.list expects to find a list by key in a dict.

Suggest adding a generalized list' :: BParser BEncode -> BParser a -> BParser [a]