-
Notifications
You must be signed in to change notification settings - Fork 0
lux.data.log
StephenBDT edited this page Aug 12, 2017
·
1 revision
Represents a value with an associated 'log' value to record arbitrary information.
(type: (Log l a)
{# log l
# value a})
(All [a] (-> (lux/control/monoid;Monoid a) (lux/control/applicative;Applicative (Log a))))
(All [a] (lux/control/functor;Functor (Log a)))
(All [a b] (-> (lux/control/monoid;Monoid a) (lux/control/monad;Monad b) (lux/control/monad;Monad (All [c] (b (Log a c))))))
(All [a] (-> (lux/control/monoid;Monoid a) (lux/control/monad;Monad (Log a))))
(All [a b c] (-> (lux/control/monoid;Monoid a) (lux/control/monad;Monad b) (b c) (b (Log a c))))
Set the log to a particular value.
(All [a] (-> a (Log a lux;Unit)))