Any plans to support the Arrow syntax?
Closed this issue · 1 comments
rongcuid commented
Currently, it seems that this language feature is not present in frege. As an example, use the ->
Arrow:
import Control.Arrow
plus :: Int -> Int
plus = proc a -> do
b <- (+1) -< a
c <- (+4) -< b
returnA -< c
This is just (+4) <<< (+1)
. Of course, there are more complicated arrows with features like if/else, etc. Will this syntax be supported?
Ingo60 commented
There are no such plans.