I'm trying to extend the method Base.∘.
Trying to define
function Base.∘(f₁::Transformation, f₂::Transformation)
println("baz")
end
Gives the following error:
syntax: expected "end" in definition of function "Base"
What am I doing wrong? How can I extend it?
function Base.:∘(f₁::Transformation, f₂::Transformation)
println("baz")
end
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With