Clay.Time

clay-0.15.0: CSS preprocessor as embedded Haskell.

Safe Haskell | None
Language | Haskell2010

Clay.Time

Contents

- Time type.
- Time constructors.

Synopsis

- data Time
- sec :: Double -> Time
- ms :: Double -> Time

# Time type.

data Time #

#### Instances

Instances details

Auto Time # |
Instance details Defined in Clay.Time Methods auto :: Time #
Inherit Time # |
Instance details Defined in Clay.Time Methods inherit :: Time #
None Time # |
Instance details Defined in Clay.Time Methods none :: Time #
Normal Time # |
Instance details Defined in Clay.Time Methods normal :: Time #
Other Time # |
Instance details Defined in Clay.Time Methods other :: Value -> Time #
Val Time # |
Instance details Defined in Clay.Time Methods value :: Time -> Value #
Num Time # |
Instance details Defined in Clay.Time Methods (+) :: Time -> Time -> Time # (-) :: Time -> Time -> Time # (*) :: Time -> Time -> Time # negate :: Time -> Time # abs :: Time -> Time # signum :: Time -> Time # fromInteger :: Integer -> Time #
Fractional Time # |
Instance details Defined in Clay.Time Methods (/) :: Time -> Time -> Time # recip :: Time -> Time # fromRational :: Rational -> Time #

# Time constructors.

sec :: Double -> Time #

Time in seconds.

ms :: Double -> Time #

Time in milliseconds.