Closed Centril closed 6 years ago
indeed, it would be useful. Can you make a pull request?
Sure thing, tho, not today =)
waiting for that PR ;)
Apologies =) I'm currently writing my Bachelors thesis, so I don't have a lot of time to work on this. So I'll postpone until I can fix it =)
so IResult
is replaced with a Result
, for which the Ok
side contains a tuple of (I,O)
, so it should be much easier to work with? Do we still need a map_rem
?
Probably not, so I'm closing then ;)
It would be nice to add to
nom::IResult
a function:This is useful mainly for testing & debugging purposes while dealing with
&[u8]
in the terminal. As seen in the following "gist", http://play.integer32.com/?gist=68da7c56bb7f0dc4412b2ec42b6d5e21&version=stable , the outputis harder to read compared to:
It could also potentially be useful to add a function: