elm-community / parser-combinators

A parser combinator library for Elm.

Home Page:http://package.elm-lang.org/packages/elm-community/parser-combinators/latest

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot be used with UrlParser

sporto opened this issue · comments

Please see evancz/url-parser#17 (comment)

In my project I use https://github.com/Bogdanp/elm-time which depends on elm-combine

At the moment this library and UrlParser cannot coexist in a project because <?>.

elm/compiler#1096

This issue with infix operators being global needs to be fixed in the compiler but for the meantime it would be great if this conflict could be fixed by changing the infix operator that elm-combine defines.

Clearly this means you should use elm-route instead 😜. I've removed the fixity annotation for <?> and published 3.1.1 which should fix this issue. I'm not sure if I need to publish an updated version of elm-time yet.

I was able to successfully compile url-parser-deps so I think the issue is resolved.