add map_parser combinator
This is a port of the old flat_map! macro. This macro was ill-named, this should better describe what it does. In case we do not consume all the output of the first parser, we now error out instead of silently discarding the rest Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
M
Marc-Antoine Perennou committed
257d90897ed2613034aac39dea3747cae1b944fc
Parent: 601e83a
Committed by Geoffroy Couprie <geo.couprie@gmail.com>
on 4/25/2019, 2:22:02 PM