Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- generateDocs :: GenerateDocs -> IO ()
- data GenerateDocs where
- data EditorType
- data SheetType
- keywordsCommands :: EditorType -> Text
- keywordsDirections :: EditorType -> Text
- operatorNames :: Text
- builtinFunctionList :: EditorType -> Text
- editorList :: EditorType -> [Text] -> Text
- data PageAddress = PageAddress {}
- commandsPage :: Text
- capabilityPage :: PageAddress -> EntityMap -> Text
- noPageAddresses :: PageAddress
Documentation
generateDocs :: GenerateDocs -> IO () Source #
data GenerateDocs where Source #
RecipeGraph :: GenerateDocs | Entity dependencies by recipes. |
EditorKeywords :: Maybe EditorType -> GenerateDocs | Keyword lists for editors. |
CheatSheet :: PageAddress -> Maybe SheetType -> GenerateDocs |
Instances
Show GenerateDocs Source # | |
Defined in Swarm.DocGen showsPrec :: Int -> GenerateDocs -> ShowS # show :: GenerateDocs -> String # showList :: [GenerateDocs] -> ShowS # | |
Eq GenerateDocs Source # | |
Defined in Swarm.DocGen (==) :: GenerateDocs -> GenerateDocs -> Bool # (/=) :: GenerateDocs -> GenerateDocs -> Bool # |
data EditorType Source #
Instances
Bounded EditorType Source # | |
Defined in Swarm.DocGen minBound :: EditorType # maxBound :: EditorType # | |
Enum EditorType Source # | |
Defined in Swarm.DocGen succ :: EditorType -> EditorType # pred :: EditorType -> EditorType # toEnum :: Int -> EditorType # fromEnum :: EditorType -> Int # enumFrom :: EditorType -> [EditorType] # enumFromThen :: EditorType -> EditorType -> [EditorType] # enumFromTo :: EditorType -> EditorType -> [EditorType] # enumFromThenTo :: EditorType -> EditorType -> EditorType -> [EditorType] # | |
Show EditorType Source # | |
Defined in Swarm.DocGen showsPrec :: Int -> EditorType -> ShowS # show :: EditorType -> String # showList :: [EditorType] -> ShowS # | |
Eq EditorType Source # | |
Defined in Swarm.DocGen (==) :: EditorType -> EditorType -> Bool # (/=) :: EditorType -> EditorType -> Bool # |
Instances
Bounded SheetType Source # | |
Enum SheetType Source # | |
Defined in Swarm.DocGen succ :: SheetType -> SheetType # pred :: SheetType -> SheetType # fromEnum :: SheetType -> Int # enumFrom :: SheetType -> [SheetType] # enumFromThen :: SheetType -> SheetType -> [SheetType] # enumFromTo :: SheetType -> SheetType -> [SheetType] # enumFromThenTo :: SheetType -> SheetType -> SheetType -> [SheetType] # | |
Show SheetType Source # | |
Eq SheetType Source # | |
Formatted keyword lists
keywordsCommands :: EditorType -> Text Source #
Get formatted list of basic functions/commands.
keywordsDirections :: EditorType -> Text Source #
Get formatted list of directions.
operatorNames :: Text Source #
builtinFunctionList :: EditorType -> Text Source #
editorList :: EditorType -> [Text] -> Text Source #
Wiki pages
data PageAddress Source #
PageAddress | |
|
Instances
Show PageAddress Source # | |
Defined in Swarm.DocGen showsPrec :: Int -> PageAddress -> ShowS # show :: PageAddress -> String # showList :: [PageAddress] -> ShowS # | |
Eq PageAddress Source # | |
Defined in Swarm.DocGen (==) :: PageAddress -> PageAddress -> Bool # (/=) :: PageAddress -> PageAddress -> Bool # |
commandsPage :: Text Source #
capabilityPage :: PageAddress -> EntityMap -> Text Source #