++ed by:
RPAVLOV JGAMBLE

2 PAUSE users
1 non-PAUSE user.

Christian Jaeger
and 1 contributors

NAME

FP::IOStream

SYNOPSIS

 use FP::IOStream ':all'; # xdirectory_items, xdirectory_paths
 use FP::Stream; # stream_map
 use FP::List ':all'; # first
 my $paths= stream_map sub { my ($item)= @_; "$base/$item" },
                       xdirectory_items $base;
 # which is the same as: my $paths= xdirectory_paths $base;
 my $firstpath= first $paths;
 # ...

DESCRIPTION

Lazy IO (well, input), by reading items lazily as stream items.

(It's arguable whether that is a good idea; Haskell uses different approaches nowadays. But it's still a nice way to do things if you're careful.)