What type would you like?
-
-
-
The main annoyance is that 'f' requires its argument to be linear, which is too restrictive. But without that, it can't find the definition. Yet :).
- 3 more replies
New conversation -
-
-
Should that be a default heuristic - try to use the input? I know exference does this, and maybe others...
-
Using something at most once might be useful. Though you don't always want that, especially on an expression search in a bigger context.
End of conversation
New conversation -
-
-
is synthesis one of the possible end goals here ? This feels like an Idris version of ReSyn + Synquid would conceptually fit really well
-
Some kind of domain-specific synthesis might be very nice. At the minute, it's really just a brute force search to see what fits the type, but linearity annotations turn out to allow you to reduce the space quite a bit.
End of conversation
New conversation -
-
-
what is the meaning of the '1'? (I guess it's something to do with linearity, but that's just guessing). Pointer towards resources are fine :)
-
It means the function has to use that argument exactly once. So given "f : (1 x : a) -> b", then if "f x" is used exactly once, it means "x" is used exactly once.
- 1 more reply
New conversation -
-
-
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
