I am trying to generate code that uses the </> operator from Url.Parser, but I could not find a way to do it. There is no function that returns a BinOp for that operator, as far as I can tell, and there is no way to create a custom BinOp. This seems like an oversight. There might be other missing operators.
It is an oversight. I think the other missing operators will be |. and |= from elm-parser. AFAIK the only custom operators defined outside the core language are those and the Url.Parser ones.
I am trying to generate code that uses the
</>
operator fromUrl.Parser
, but I could not find a way to do it. There is no function that returns aBinOp
for that operator, as far as I can tell, and there is no way to create a customBinOp
. This seems like an oversight. There might be other missing operators.