-
|
I've been trying out the relatively (I took a while to get here) new implicit arguments, and they've been great so far, but I've fallen into a syntax error problem trying to use them. Suppose I am defining a function, with an implicit operator argument as follows: pub fun myfunc(a: int64, b: int64,?qualified/(+): (int64, int64) -> total int64): int64
a ?qualified/(+) bThis code yields a error. Edit: On second look it appears the argument being implicit has nothing to do with this |
Beta Was this translation helpful? Give feedback.
Answered by
AZMCode
Mar 30, 2024
Replies: 1 comment 1 reply
-
|
I have found that using Works, but it is quite verbose |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
AZMCode
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have found that using
Works, but it is quite verbose