Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compose \circ in base julia is now vararg #143

Closed
jpfairbanks opened this issue Mar 22, 2020 · 2 comments
Closed

Compose \circ in base julia is now vararg #143

jpfairbanks opened this issue Mar 22, 2020 · 2 comments

Comments

@jpfairbanks
Copy link
Member

I was reading the 1.4 release notes and saw this issue: JuliaLang/julia#33568. I'm not sure if this is relevant to catlab, but it might me.

@jpfairbanks
Copy link
Member Author

note that \circ() = identity and \circ(f) = f now.

@epatters
Copy link
Member

Thanks for noticing this change. In previous version of Julia, we had:

julia> methods(∘)
# 1 method for generic function "∘":
[1] ∘(f, g) in Base at operators.jl:832

In v1.4, we have:

julia> methods(∘)
# 2 methods for generic function "∘":
[1] ∘(f, g) in Base at operators.jl:859
[2] ∘(f, g, h...) in Base at operators.jl:860

Unfortunately, this will not help us in #131 because the original untyped method for \circ as a binary operator is still present.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants