Fresheyeball / elm-return

Writer powered pipelining for `(model, Cmd msg)`

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot be used with Bogdanp/elm-combine

roSievers opened this issue · comments

Your new infix operator precedences clash because of a compiler bug. I would love to use both of your libraries, can you find a way to sort that out?

Bug at elm-combine: https://github.com/Bogdanp/elm-combine/issues/19
Compiler bug: elm/compiler#1096
This isn't the first time that happens to Bogdan: https://github.com/Bogdanp/elm-combine/issues/18

For anyone else with the same problem, ditching this for Bloom's fork solves the issue, because they are behind on the infix operators: http://package.elm-lang.org/packages/bloom/elm-return/latest

I recently merged a PR from @splodingsocks is this still an issue?

The last commit was 7 days ago (except for the license) and I stumbled on the problem six days ago. The Problem are the infixl definitions and they are still in your code. (Also, that merge does not show up for me or github doesn't know it was a merge.)

I believe the problem can't be solved without removing infixl declaration from either package and thus removing some functionality. That's unfortunate and I'm not saying either of you has to do that. (Especially since I have a workaround)

Here ya go. All fixed up 6bd87ec

Thanks, I just tested compatibility by switching back to your version of the package. It works great.