Skip to content

take() #121

@togo59

Description

@togo59

From your Intro to Laziness:

esquares = @>> Lazy.range() map(x->x^2) filter(iseven);
take(5, esquares)

ERROR: UndefVarError: take not defined
Stacktrace:
[1] top-level scope at REPL[26]:1
[2] include_string(::Function, ::Module, ::String, ::String) at ./loading.jl:1088

If take is no longer available, what is the alternative?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions