ozataman / csv-conduit

Flexible, fast and constant-space CSV library for Haskell using conduits
Other
52 stars 33 forks source link

Infix precedence redundancy fix #7

Closed dzhus closed 12 years ago

dzhus commented 12 years ago

This fixes this error:

Configuring csv-conduit-0.3.0.2...
Building csv-conduit-0.3.0.2...
Preprocessing library csv-conduit-0.3.0.2...
[1 of 4] Compiling Data.CSV.Conduit.Types ( src/Data/CSV/Conduit/Types.hs, dist/build/Data/CSV/Conduit/Types.o )
[2 of 4] Compiling Data.CSV.Conduit.Parser.Text ( src/Data/CSV/Conduit/Parser/Text.hs, dist/build/Data/CSV/Conduit/Parser/Text.o )
[3 of 4] Compiling Data.CSV.Conduit.Parser.ByteString ( src/Data/CSV/Conduit/Parser/ByteString.hs, dist/build/Data/CSV/Conduit/Parser/ByteString.o )
[4 of 4] Compiling Data.CSV.Conduit ( src/Data/CSV/Conduit.hs, dist/build/Data/CSV/Conduit.o )

src/Data/CSV/Conduit.hs:121:20:
    Precedence parsing error
        cannot mix `B8.cons' [infixr 5] and `B8.snoc' [infixl 5] in the same infix expression
Failed to install csv-conduit-0.3.0.2
cabal: Error: some packages failed to install:
csv-conduit-0.3.0.2 failed during the building phase. The exception was:
ExitFailure 1

Tested with GHC 7.6.1

dzhus commented 12 years ago

Thanks for merging. Note that Hackage top version is currently borkened.