24 May 2021 11:36:26 UTC
- Distribution: FunctionalPerl
- Source (raw)
- Browse (raw)
- How to Contribute
- Issues (0)
- Testers (70 / 2 / 0)
- KwaliteeBus factor: 1
- License: perl_5
- Perl: v5.16.4
- Activity24 month
- Download (443.46KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest version++ed by:3 non-PAUSE usersPFLANZE Christian Jaegerand 1 contributors
- Christian Jaeger
FP::Abstract::Pure - functional purity protocol
use FP::List; use Safe::Isa; my $v = list(1); # or any other data structure that implements # FP::Abstract::Pure is $v->$_isa("FP::Abstract::Pure"), 1; # but usually: use FP::Predicates; is_pure($v) # true if $v does (officially) not support mutation
Base class for all data structures that don't allow mutation (by ordinary programs), i.e. are persistent.
More precisely, those objects that don't have methods that when called make other methods non-functions.
This is alpha software! Read the status section in the package README or on the website.
Module Install Instructions
To install FunctionalPerl, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install FunctionalPerl
For more information on module installation, please visit the detailed CPAN module installation guide.