Closed zenna closed 4 years ago
Dealing with multiple conditions.
Options:
@post f x > 0 would resolve to
@post f x > 0
post(Val{:ajdad}, ::typeof(f), ...)
Then I'd use invoke method to invoke them all...
Don;t allow it, all methods need to be in the same place
Have a collection somewhere which we mutate.
Have each new one lookup and redefine the previous one.
Dealing with multiple conditions.
Options:
@post f x > 0
would resolve topost(Val{:ajdad}, ::typeof(f), ...)
Then I'd use invoke method to invoke them all...
Don;t allow it, all methods need to be in the same place
Have a collection somewhere which we mutate.
Have each new one lookup and redefine the previous one.