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

take() #121

Open
togo59 opened this issue Sep 4, 2020 · 0 comments
Open

take() #121

togo59 opened this issue Sep 4, 2020 · 0 comments

Comments

@togo59
Copy link

togo59 commented Sep 4, 2020

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?

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

1 participant