curly-core-0.7.2: The core libraries for the Curly compiler.

Safe HaskellNone
LanguageHaskell2010

Curly.Core.Library

Contents

Synopsis

Modules

Chunked data and Future Extensions

newtype Chunked a Source #

Constructors

Chunked 

Fields

Nodes

newtype ModDir s a Source #

Constructors

ModDir [(s, a)] 

Instances

(Serializable Bytes s, Serializable Bytes a) => Serializable Bytes (Free (ModDir s) a) Source # 
(Serializable Bytes s, Serializable Bytes a) => Serializable Bytes (ModDir s a) Source # 
(Format Bytes s, Format Bytes a) => Format Bytes (Free (ModDir s) a) Source # 

Methods

datum :: Parser Bytes (Free (ModDir s) a) #

(Format Bytes s, Format Bytes a) => Format Bytes (ModDir s a) Source # 

Methods

datum :: Parser Bytes (ModDir s a) #

Functor (ModDir s) Source # 

Methods

map :: (a -> b) -> ModDir s a -> ModDir s b #

Ord s => SemiApplicative (Zip (ModDir s)) Source # 

Methods

(<*>) :: Zip (ModDir s) (a -> b) -> Zip (ModDir s) a -> Zip (ModDir s) b #

Foldable (ModDir s) Source # 

Methods

fold :: Monoid m => ModDir s m -> m #

Traversable (ModDir s) Source # 

Methods

sequence :: Applicative f => ModDir s (f a) -> f (ModDir s a) #

Documented a => Documented (Module a) Source # 
(Show a, Show s) => Show (ModDir s a) Source # 

Methods

showsPrec :: Int -> ModDir s a -> ShowS #

show :: ModDir s a -> String #

showList :: [ModDir s a] -> ShowS #

Semigroup (ModDir s a) Source # 

Methods

(+) :: ModDir s a -> ModDir s a -> ModDir s a #

Monoid (ModDir s a) Source # 

Methods

zero :: ModDir s a #

i'ModDir :: Iso [(s, a)] [(s', a')] (ModDir s a) (ModDir s' a') Source #

localContext :: (?mountain :: Mountain) => Context Source #

atM :: Eq s => s -> a -> Traversal' (ModDir s a) a Source #

atMs :: Eq s => [s] -> Traversal' (Free (ModDir s) a) (Free (ModDir s) a) Source #

fromPList :: Eq s => [([s], Free (ModDir s) a)] -> Free (ModDir s) a Source #

Leaves

data ModLeaf s a Source #

Instances

(Identifier s, Identifier s') => HasIdents s s' (ModLeaf s a) (ModLeaf s' a) Source # 

Methods

ff'idents :: FixFold s s' (ModLeaf s a) (ModLeaf s' a) Source #

(Identifier s, Serializable Bytes s, Serializable Bytes a) => Serializable Bytes (ModLeaf s a) Source # 
(Identifier s, Format Bytes s, Format Bytes a) => Format Bytes (ModLeaf s a) Source # 

Methods

datum :: Parser Bytes (ModLeaf s a) #

Functor (ModLeaf s) Source # 

Methods

map :: (a -> b) -> ModLeaf s a -> ModLeaf s b #

Foldable (ModLeaf s) Source # 

Methods

fold :: Monoid m => ModLeaf s m -> m #

Traversable (ModLeaf s) Source # 

Methods

sequence :: Applicative f => ModLeaf s (f a) -> f (ModLeaf s a) #

Generic (ModLeaf s a) Source # 

Associated Types

type Rep (ModLeaf s a) :: * -> * #

Methods

from :: ModLeaf s a -> Rep (ModLeaf s a) x #

to :: Rep (ModLeaf s a) x -> ModLeaf s a #

type Rep (ModLeaf s a) Source # 

leafVal :: Lens a b (ModLeaf s a) (ModLeaf s b) Source #

Libraries

data GlobalID Source #

Constructors

GlobalID String (Maybe (String, LibraryID)) 

Instances

Eq GlobalID Source # 
Ord GlobalID Source # 
Show GlobalID Source # 
Generic GlobalID Source # 

Associated Types

type Rep GlobalID :: * -> * #

Methods

from :: GlobalID -> Rep GlobalID x #

to :: Rep GlobalID x -> GlobalID #

NFData GlobalID Source # 

Methods

rnf :: GlobalID -> () #

Documented GlobalID Source # 
Identifier GlobalID Source # 
Serializable Bytes GlobalID Source # 
Format Bytes GlobalID Source # 
type Rep GlobalID Source # 

Documentation

data DocNode a Source #

A documentation node (similar to a HTML node, but simpler)

Constructors

DocTag String [(String, String)] [a] 

Instances

Functor DocNode Source # 

Methods

map :: (a -> b) -> DocNode a -> DocNode b #

Foldable DocNode Source # 

Methods

fold :: Monoid m => DocNode m -> m #

Traversable DocNode Source # 

Methods

sequence :: Applicative f => DocNode (f a) -> f (DocNode a) #

Serializable Bytes a => Serializable Bytes (DocNode a) Source # 
Format Bytes a => Format Bytes (DocNode a) Source # 

Methods

datum :: Parser Bytes (DocNode a) #

Serializable Bytes a => Serializable Bytes (Free DocNode a) Source # 
Format Bytes a => Format Bytes (Free DocNode a) Source # 

Methods

datum :: Parser Bytes (Free DocNode a) #

Eq a => Eq (DocNode a) Source # 

Methods

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

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

Ord a => Ord (DocNode a) Source # 

Methods

compare :: DocNode a -> DocNode a -> Ordering #

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

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

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

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

max :: DocNode a -> DocNode a -> DocNode a #

min :: DocNode a -> DocNode a -> DocNode a #

Show a => Show (DocNode a) Source # 

Methods

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

show :: DocNode a -> String #

showList :: [DocNode a] -> ShowS #

Generic (DocNode a) Source # 

Associated Types

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

Methods

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

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

Documented a => Documented (Free DocNode a) Source # 
type Rep (DocNode a) Source # 

docNodeSubs :: Lens [a] [b] (DocNode a) (DocNode b) Source #

mkDoc Source #

Arguments

:: String

The root tag name

-> String

Documentation in textual format

-> Documentation 

Files

Repositories