Open zenna opened 7 years ago
@zenna do we want to be able to do this:
carr, f = Arrows.@arr function f(x, y)
if x == y
(2x + y, 1)
else
(2, 3x + y)
end
end
?
If so, we would need to create a TupleArrow
+ IndexingArrow
Yeah. It's not a priority yet, and also we don't need any more arrows to do it:
Looking to replace some of the code with @arr
yields the following error (I imagine because you use
z
as a standard output ( should probably change this toout_1
,out_2
if we can't infer it.Using another name yields another error
@jburroni