second package:rebase

Map covariantly over the second argument.
secondbimap id

Examples

>>> second (+1) ('j', 3)
('j',4)
>>> second (+1) (Right 3)
Right 4
Laws:
second'dimap swap swap . first'
lmap sndrmap snd . second'
lmap (first' f) . second'rmap (first' f) . second'
second' . second'dimap unassoc assoc . second' where
assoc ((a,b),c) = (a,(b,c))
unassoc (a,(b,c)) = ((a,b),c)
Default definition for second' given that p is Representable.
Create a DiffTime which represents an integral number of seconds.
Create a NominalDiffTime from a number of seconds.
Get the number of picoseconds in a DiffTime.
Get the seconds in a NominalDiffTime.
Create a DiffTime from a number of picoseconds.
Map leap-second values to the start of the following second. The resulting systemNanoseconds will always be in the range 0 to 1E9-1.
Laws:
unsecondunfirst . dimap swap swap
lmap ((),) ≡ unsecond . rmap ((),)
unsecond . lmap (first f) ≡ unsecond . rmap (first f)
unsecond . unsecond = unsecond . dimap unassoc assoc where
assoc ((a,b),c) = (a,(b,c))
unassoc (a,(b,c)) = ((a,b),c)
Default definition for unsecond given that p is Corepresentable.