lens-time-0.1.0.0: lens for Data.Time

Safe HaskellNone

Data.Time.Lens

Documentation

class HasDate a whereSource

Methods

date :: Lens' a DaySource

Instances

dateLens :: (Integral b1, Functor f, Num b, HasDate a) => ((b1 -> Accessor b1 b1) -> (Integer, Int, Int) -> Accessor b1 (Integer, Int, Int)) -> (b -> Day -> Day) -> (b1 -> f b1) -> a -> f aSource

class HasTime a whereSource

Instances