Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
The data model for Unison transcripts.
Synopsis
- type ExpectingError = Bool
- type HasBug = Bool
- type ScratchFileName = Text
- data Hidden
- = Shown
- | HideOutput
- | HideAll
- data UcmLine
- data UcmContext = UcmContextProject (ProjectAndBranch ProjectName ProjectBranchName)
- data APIRequest
- pattern CMarkCodeBlock :: Maybe PosInfo -> Text -> Text -> Node
- type Stanza = Either Node ProcessedBlock
- data InfoTags a = InfoTags {
- hidden :: Hidden
- expectingError :: ExpectingError
- hasBug :: HasBug
- generated :: Bool
- additionalTags :: a
- defaultInfoTags :: a -> InfoTags a
- defaultInfoTags' :: Monoid a => InfoTags a
- data ProcessedBlock
- data Node
Documentation
type ExpectingError = Bool Source #
type ScratchFileName = Text Source #
UcmCommand UcmContext Text | |
UcmComment Text | Text does not include the '--' prefix. |
UcmOutputLine Text |
data UcmContext Source #
Where a command is run: a project branch (myproject/mybranch>).
Instances
Show UcmContext Source # | |
Defined in Unison.Codebase.Transcript showsPrec :: Int -> UcmContext -> ShowS # show :: UcmContext -> String # showList :: [UcmContext] -> ShowS # | |
Eq UcmContext Source # | |
Defined in Unison.Codebase.Transcript (==) :: UcmContext -> UcmContext -> Bool # (/=) :: UcmContext -> UcmContext -> Bool # |
data APIRequest Source #
Instances
Show APIRequest Source # | |
Defined in Unison.Codebase.Transcript showsPrec :: Int -> APIRequest -> ShowS # show :: APIRequest -> String # showList :: [APIRequest] -> ShowS # | |
Eq APIRequest Source # | |
Defined in Unison.Codebase.Transcript (==) :: APIRequest -> APIRequest -> Bool # (/=) :: APIRequest -> APIRequest -> Bool # |
InfoTags | |
|
Instances
Read a => Read (InfoTags a) Source # | |
Show a => Show (InfoTags a) Source # | |
Eq a => Eq (InfoTags a) Source # | |
Ord a => Ord (InfoTags a) Source # | |
Defined in Unison.Codebase.Transcript |
defaultInfoTags :: a -> InfoTags a Source #
defaultInfoTags' :: Monoid a => InfoTags a Source #
If the $sel:additionalTags:InfoTags
form a Monoid
, then you don’t need to provide a default value for them.
data ProcessedBlock Source #
Ucm (InfoTags ()) [UcmLine] | |
Unison (InfoTags (Maybe ScratchFileName)) Text | |
API (InfoTags ()) [APIRequest] |
Instances
Show ProcessedBlock Source # | |
Defined in Unison.Codebase.Transcript showsPrec :: Int -> ProcessedBlock -> ShowS # show :: ProcessedBlock -> String # showList :: [ProcessedBlock] -> ShowS # | |
Eq ProcessedBlock Source # | |
Defined in Unison.Codebase.Transcript (==) :: ProcessedBlock -> ProcessedBlock -> Bool # (/=) :: ProcessedBlock -> ProcessedBlock -> Bool # |
Instances
Data Node | |
Defined in CMark gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Node -> c Node # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Node # dataTypeOf :: Node -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Node) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Node) # gmapT :: (forall b. Data b => b -> b) -> Node -> Node # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Node -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Node -> r # gmapQ :: (forall d. Data d => d -> u) -> Node -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Node -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Node -> m Node # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Node -> m Node # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Node -> m Node # | |
Generic Node | |
Read Node | |
Show Node | |
Eq Node | |
Ord Node | |
type Rep Node | |
Defined in CMark type Rep Node = D1 ('MetaData "Node" "CMark" "cmark-0.6.1-Ll0dX5qpF6PEeRr1RSJhdm" 'False) (C1 ('MetaCons "Node" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe PosInfo)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 NodeType) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Node])))) |