Skip to content

effect_free not inferred, unlike with Base.collect #33

@nsajko

Description

@nsajko
julia> using Collects

julia> Base.infer_effects(collect, Tuple{typeof((n*n for n  1:3))})
(!c,+e,!n,!t,+s,+m,!u,+o,+r)

julia> f(x) = collect_as(Vector, x)
f (generic function with 1 method)

julia> Base.infer_effects(f, Tuple{typeof((n*n for n  1:3))})
(!c,!e,!n,!t,+s,!m,+u,+o,!r)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions