Safe Haskell | None |
---|---|
Language | Haskell2010 |
TypedSession.State.Render
Documentation
data StringFill Source #
Instances
Show StringFill Source # | |
Defined in TypedSession.State.Render Methods showsPrec :: Int -> StringFill -> ShowS # show :: StringFill -> String # showList :: [StringFill] -> ShowS # |
runCenterFill :: String -> StringFill -> String Source #
getPoint :: StringFill -> Int Source #
runCenterFills :: [StringFill] -> String Source #
data StrFillEnv Source #
Constructors
StrFillEnv | |
Instances
Show StrFillEnv Source # | |
Defined in TypedSession.State.Render Methods showsPrec :: Int -> StrFillEnv -> ShowS # show :: StrFillEnv -> String # showList :: [StrFillEnv] -> ShowS # |
type XStringFill eta r bst = (XMsg eta -> ([StringFill], Bool), XLabel eta -> [StringFill], XBranch eta -> [StringFill], XBranchSt eta -> [StringFill], XGoto eta -> [StringFill], XTerminal eta -> [StringFill]) Source #
renderXFold :: forall r eta bst (sig :: (Type -> Type) -> Type -> Type) m. (Has (Writer [[StringFill]] :+: State Int) sig m, ForallX Show eta, Enum r, Bounded r, Show r, Show bst) => StrFillEnv -> XStringFill eta r bst -> XFold m eta r bst Source #
runRender :: forall r eta bst. (ForallX Show eta, Show bst, Enum r, Bounded r, Show r) => StrFillEnv -> XStringFill eta r bst -> Protocol eta r bst -> String Source #
Constructors
TracerProtocolCreat (Protocol Creat r bst) | |
TracerProtocolIdx (Protocol Idx r bst) | |
TracerReRank (IntMap Int) | |
TracerProtocolAddNum (Protocol AddNums r bst) | |
TracerProtocolGenConst (Protocol (GenConst r) r bst) | |
TracerConstraints (Seq Constraint) | |
TracerSubMap SubMap | |
TracerProtocolGenConstN (Protocol (GenConst r) r bst) | |
TracerCollectBranchDynVal (Set Int) | |
TracerProtocolMsgT (Protocol (MsgT r bst) r bst) | |
TracerProtocolMsgT1 (Protocol (MsgT1 r bst) r bst) |
too :: forall r a. (Show a, Enum r, Bounded r) => StrFillEnv -> [a] -> [StringFill] Source #
stMsgT :: forall r bst. (Show bst, Ord r, Enum r, Bounded r) => StrFillEnv -> XStringFill (MsgT r bst) r bst Source #
parensWarapper :: String -> String Source #