on master help sign in
Move peek and eof under WithoutInput section in parsers
1d68418Adithya Kumar
core/src/Streamly/Data/Parser.hs+2−2
@@ -31,9 +31,10 @@ module Streamly.Data.Parser
31 , fromEffect
31 , fromEffect
32 , die
32 , die
33 -- , dieM
33 -- , dieM
34+ , peek
35+ , eof
34
36
35 -- ** Element parsers
37 -- ** Element parsers
36− , peek
37
38
38 -- All of these can be expressed in terms of either
39 -- All of these can be expressed in terms of either
39 , one
40 , one
@@ -44,7 +45,6 @@ module Streamly.Data.Parser
44 , satisfy
45 , satisfy
45 -- , maybe
46 -- , maybe
46 -- , either
47 -- , either
47− , eof
48
48
49 -- ** Sequences
49 -- ** Sequences
50 , eqBy
50 , eqBy