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

CatHandle cannot be created from a lazy list #2796

Open
scovit opened this issue Mar 25, 2019 · 0 comments

Comments

Projects
None yet
2 participants
@scovit
Copy link

commented Mar 25, 2019

The Problem

$ perl6 -e 'my $inflist = 1..*; my @inflist = $inflist.map: { "$_.txt" }; my $*ARGFILES = IO::CatHandle.new(@inflist);'

Expected Behavior

Create a Lazy CatHandle

Actual Behavior

Cannot .elems a lazy list
  in block <unit> at -e line 1

Comment with slightly higher entropy content

I cannot make any sense of IO::CatHandle if this cannot handle infinite lists of files. It is just extremely slow and bogus. But I might be missing some reasoning

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.