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