9 XSLoader::load(__PACKAGE__);
12 use Sub::Install 'install_sub';
15 my ($class, %args) = @_;
18 my $gather = sub { croak "$args{block} called as a function" };
19 my $take = sub { croak "$args{take} called as a function" };
33 setup_gather_hook($gather, !!$args{topicalise});
34 setup_take_hook($take, [$args{topicalise}, $args{predicate}]);