haskell-src-meta icon indicating copy to clipboard operation
haskell-src-meta copied to clipboard

No support for Arrow Proc notation

Open tomberek opened this issue 9 years ago • 2 comments

haskell-src-exts is able to provide an AST for arrow proc notation, but meta is unable to translate that back into TH.

tomberek avatar Mar 01 '15 19:03 tomberek

We would have to desugar arrow notation ourselves since TH doesn't support it directly. Are you up for writing a desugarer?

mainland avatar May 04 '17 17:05 mainland

I have written one. https://github.com/tomberek/ArrowDesugar It needs some work and may not be 100% compliant. But the Arrow ecosystem seems to be suffering. I'm trying to bring it back.

Similar exploratory work: https://github.com/tomberek/rulestesting/blob/master/Control/Arrow/TH.hs

tomberek avatar May 04 '17 18:05 tomberek