coda-0.0.1: The coda compiler
Coda.Syntax.Prefix
Synopsis
newtype Prefix Source #
line prefixes form a semigroup with a zero
Constructors
Instances
Methods
(==) :: Prefix -> Prefix -> Bool #
(/=) :: Prefix -> Prefix -> Bool #
gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Prefix -> c Prefix #
gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Prefix #
toConstr :: Prefix -> Constr #
dataTypeOf :: Prefix -> DataType #
dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Prefix) #
dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Prefix) #
gmapT :: (forall b. Data b => b -> b) -> Prefix -> Prefix #
gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Prefix -> r #
gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Prefix -> r #
gmapQ :: (forall d. Data d => d -> u) -> Prefix -> [u] #
gmapQi :: Int -> (forall d. Data d => d -> u) -> Prefix -> u #
gmapM :: Monad m => (forall d. Data d => d -> m d) -> Prefix -> m Prefix #
gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Prefix -> m Prefix #
gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Prefix -> m Prefix #
showsPrec :: Int -> Prefix -> ShowS #
show :: Prefix -> String #
showList :: [Prefix] -> ShowS #
fromString :: String -> Prefix #
Associated Types
type Rep Prefix :: * -> * #
from :: Prefix -> Rep Prefix x #
to :: Rep Prefix x -> Prefix #
(<>) :: Prefix -> Prefix -> Prefix #
sconcat :: NonEmpty Prefix -> Prefix #
stimes :: Integral b => b -> Prefix -> Prefix #
zero :: Prefix Source #
fromText :: Text -> Prefix Source #
joinAndCompare :: Prefix -> Prefix -> Either Prefix Ordering Source #