NAME
FP::IOStream
SYNOPSIS
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.)
NOTE
This is alpha software! Read the status section in the package README or on the website.