Bencode: cleanup the parser a bit
authorRamakrishnan Muthukrishnan <ram@rkrishnan.org>
Thu, 23 Apr 2015 05:34:31 +0000 (11:04 +0530)
committerRamakrishnan Muthukrishnan <ram@rkrishnan.org>
Thu, 23 Apr 2015 05:34:31 +0000 (11:04 +0530)
commit7b2aa2757f2b2074f5e4d15efe4211354b258588
tree55906feab207fe6fc2caee374bb1bbcd50c3d040
parentd599e09436ba2cc19f105a321d54aba700941543
Bencode: cleanup the parser a bit

There is no need to check for the spaces at the beginning every
individual parser for each type.
src/FuncTorrent/Bencode.hs