NAME
Data::Focus::Applicative::Const - Const applicative functor for Data::Focus
DESCRIPTION
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.
CLASS METHODS
$f_datum = Data::Focus::Applicative::Const->new($datum)
The constuctor. The $f_datum keeps $datum inside.
OBJECT METHODS
$datum = $f_datum->get_const()
Get the $datum passed in new() method.
AUTHOR
Toshio Ito, <toshioito at cpan.org>