Implicit constant arguments #585
-
Suppose we have the following function
How can we call this function with implicit parameters?
This doesn't work, because Of course it is possible to use |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You should be able to use Also see the implicit examples in the tests here: https://github.com/koka-lang/koka/tree/dev/test/overload |
Beta Was this translation helpful? Give feedback.
You should be able to use
pub val int/add/empty = 0
.Also see the implicit examples in the tests here: https://github.com/koka-lang/koka/tree/dev/test/overload