Data::Focus::Applicative::Const - Const applicative functor for Data::Focus
Internal use only.
A Data::Focus::Applicative class for Haskell's Constant applicative functor.
This is an abstract class. It only implements new() and get_const(). Subclasses must implement build(), pure() and create_part_mapper() based on the Monoid they choose.
new()
get_const()
build()
pure()
create_part_mapper()
The constuctor. The $f_datum keeps $datum inside.
$f_datum
$datum
Get the $datum passed in new() method.
Toshio Ito, <toshioito at cpan.org>
<toshioito at cpan.org>
To install Data::Focus, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Data::Focus
CPAN shell
perl -MCPAN -e shell install Data::Focus
For more information on module installation, please visit the detailed CPAN module installation guide.