coda-0.0.1: The coda compiler

Copyright(c) Edward Kmett 2017
LicenseBSD2
MaintainerEdward Kmett <ekmett@gmail.com>
Stabilityexperimental
Portabilitynon-portable
Safe HaskellNone
LanguageHaskell2010

Coda.Relative.Absolute

Description

 

Synopsis

Documentation

newtype Absolute a Source #

Make anything Relative trivially.

Requests for its delta are passed through unmodified.

Constructors

Absolute a 

Instances

Eq a => Eq (Absolute a) Source # 

Methods

(==) :: Absolute a -> Absolute a -> Bool #

(/=) :: Absolute a -> Absolute a -> Bool #

Data a => Data (Absolute a) Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Absolute a -> c (Absolute a) #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c (Absolute a) #

toConstr :: Absolute a -> Constr #

dataTypeOf :: Absolute a -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c (Absolute a)) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c (Absolute a)) #

gmapT :: (forall b. Data b => b -> b) -> Absolute a -> Absolute a #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Absolute a -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Absolute a -> r #

gmapQ :: (forall d. Data d => d -> u) -> Absolute a -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Absolute a -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Absolute a -> m (Absolute a) #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Absolute a -> m (Absolute a) #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Absolute a -> m (Absolute a) #

Ord a => Ord (Absolute a) Source # 

Methods

compare :: Absolute a -> Absolute a -> Ordering #

(<) :: Absolute a -> Absolute a -> Bool #

(<=) :: Absolute a -> Absolute a -> Bool #

(>) :: Absolute a -> Absolute a -> Bool #

(>=) :: Absolute a -> Absolute a -> Bool #

max :: Absolute a -> Absolute a -> Absolute a #

min :: Absolute a -> Absolute a -> Absolute a #

Read a => Read (Absolute a) Source # 
Show a => Show (Absolute a) Source # 

Methods

showsPrec :: Int -> Absolute a -> ShowS #

show :: Absolute a -> String #

showList :: [Absolute a] -> ShowS #

Generic (Absolute a) Source # 

Associated Types

type Rep (Absolute a) :: * -> * #

Methods

from :: Absolute a -> Rep (Absolute a) x #

to :: Rep (Absolute a) x -> Absolute a #

Monoid a => Monoid (Absolute a) Source # 

Methods

mempty :: Absolute a #

mappend :: Absolute a -> Absolute a -> Absolute a #

mconcat :: [Absolute a] -> Absolute a #

Hashable a => Hashable (Absolute a) Source # 

Methods

hashWithSalt :: Int -> Absolute a -> Int #

hash :: Absolute a -> Int #

Wrapped (Absolute a) Source # 

Associated Types

type Unwrapped (Absolute a) :: *

Methods

_Wrapped' :: Iso' (Absolute a) (Unwrapped (Absolute a))

Ord a => StrictRelativeOrder (Absolute a) Source # 
Ord a => RelativeOrder (Absolute a) Source # 
Monoid a => RelativeMonoid (Absolute a) Source # 
Relative (Absolute a) Source # 

Methods

rel :: Delta -> Absolute a -> Absolute a Source #

HasOrderedDelta a => HasOrderedDelta (Absolute a) Source # 
HasMonoidalDelta a => HasMonoidalDelta (Absolute a) Source # 
HasDelta a => HasDelta (Absolute a) Source # 

Methods

delta :: Absolute a -> Delta Source #

(~) * (Absolute a1) t => Rewrapped (Absolute a2) t Source # 
type Rep (Absolute a) Source # 
type Rep (Absolute a) = D1 * (MetaData "Absolute" "Coda.Relative.Absolute" "coda-0.0.1-Lrfl9CggVgIC7W2mVql1dH" True) (C1 * (MetaCons "Absolute" PrefixI False) (S1 * (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * a)))
type Unwrapped (Absolute a) Source # 
type Unwrapped (Absolute a) = a