From c84c1e84a517c4a117117cab0229012af627460f Mon Sep 17 00:00:00 2001 From: gallais Date: Sun, 24 Dec 2023 11:23:09 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20ohad/col?= =?UTF-8?q?lie@e496277f6dd557d31668b2430cfb07c47e841e2f=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- alternative.css | 247 +++++++++++++++++ blackandwhite.css | 248 ++++++++++++++++++ styles.css => default.css | 13 +- docs/Collie.Core.html | 65 ++++- docs/Collie.Error.html | 65 ++++- docs/Collie.Modifiers.html | 65 ++++- docs/Collie.Options.Domain.html | 65 ++++- docs/Collie.Options.Usual.html | 65 ++++- docs/Collie.Parser.html | 65 ++++- docs/Collie.Usage.html | 65 ++++- docs/Collie.html | 70 ++++- docs/Data.List.Fresh.Elem.html | 65 ++++- ...t.Fresh.Quantifiers.SmartConstructors.html | 65 ++++- docs/Data.List.Fresh.Quantifiers.html | 65 ++++- docs/Data.List.Fresh.html | 75 +++++- docs/Data.Magma.html | 65 ++++- docs/Data.Record.SmartConstructors.html | 68 ++++- docs/Data.Record.html | 69 ++++- docs/Decidable.Decidable.Extra1.html | 65 ++++- index.html | 65 ++++- 20 files changed, 1602 insertions(+), 33 deletions(-) create mode 100644 alternative.css create mode 100644 blackandwhite.css rename styles.css => default.css (95%) diff --git a/alternative.css b/alternative.css new file mode 100644 index 0000000..58882e9 --- /dev/null +++ b/alternative.css @@ -0,0 +1,247 @@ +html, +body { + margin: 0; + padding: 0; + border: 0; + height: 100%; + font-family: "Trebuchet MS", Helvetica, sans-serif; + font-size: 11pt; + background-color: #fff; +} + +a, +a:active, +a:visited { + text-decoration: none; + color: inherit; +} + +a:hover { + text-decoration: underline; +} + +header { + padding: 5px 11px; + border-bottom: 3px solid #659fdb; + box-shadow: 0 -8px 22px 0; + background-color: #252525; + color: white; + font-size: 9pt; +} + +.wrapper { + min-height: 100%; +} + +header nav, +header strong { + font-size: 11pt; +} + +header nav { + float: right; +} + +footer { + height: 30px; + width: 100%; + border-top: 1px solid #aaa; + margin-top: -31px; + text-align: center; + color: #666; + line-height: 30px; + font-size: 9pt; + background: none repeat scroll 0 0 #ddd; +} + +.container { + padding: 10px 10px 41px 20px; +} + +h1 { + margin: 0; + margin-bottom: 5px; + font-size: 14pt; + font-family: "Trebuchet MS", Helvetica, sans-serif; +} + +#module-header { + border-bottom: 1px solid #bbb; + padding-bottom: 2px; +} + +ul { + list-style-type: none; + margin: 0; + padding: 0; +} + +hr { + margin: 0; + padding: 0; + border: 0; + border-bottom: 1px solid #bbb; +} + +p { + margin: 0; + padding: 0; +} + +pre { + display: inline; + margin: 0; + padding: 0; +} + +.code { + font-family: "Lucida Console", Monaco, monospace; + font-size: 10pt; +} + +.decls { + margin-top: 5px; +} + +.decls > dt { + font-family: "Lucida Console", Monaco, monospace; + font-size: 10pt; + line-height: 20px; + padding: 2px 6px; + border: 1px solid #ccc; + background-color: #f0f0f0; + display: table; + width: 100%; + box-sizing: border-box; + white-space: pre-wrap; +} + +.decls > dd { + margin: 10px 0 20px 20px; + font-family: Arial, sans-serif; + font-size: 10pt; +} + +.decls > dd > p { + margin-bottom: 8px; +} + +.decls > dd > dl:not(.decls):not(:first-child) { + padding-top: 5px; + border-top: 1px solid #eee; +} + +.decls > dd > dl:not(.decls) > dt { + display: block; + min-width: 70px; + float: left; + font-weight: bold; +} + +.decls > dd > dl:not(.decls) > dd { + margin-bottom: 2px; +} + +.fixity { + font-style: italic; + font-weight: normal !important; +} + +dd.fixity { + cursor: default; +} + +.word { + display: table-cell; + white-space: nowrap; + width: 0; +} + +.signature { + display: table-cell; + width: 100%; +} + +.name { + white-space: nowrap; + width: 0; +} + +.documented, +.name { + cursor: default; +} + +.documented { + font-weight: bold; +} + +/* The following colours are taken from the conservative 8 color palette given + in http://mkweb.bcgsc.ca/colorblind/palettes.mhtml +*/ + +a.function { + color: #359b73; +} + +.function { + color: #359b73; +} + +a.constructor { + color: #d55e; +} + +.constructor { + color: #d55e; +} + +a.type { + color: #3db7e9; +} + +.type { + color: #3db7e9; +} + +.keyword { + color: inherit; +} + +.boundvar { + color: #f748a5; +} + +.boundvar.implicit { + text-decoration: underline; +} + +ul.names { + border: 1px solid #666; +} + +ul.names li { + padding-left: 5px; +} + +ul.names li a { + display: inline-block; + width: 100%; + padding: 2px 0; +} + +ul.names li:nth-child(odd) { + background-color: #eeeeef; +} + +ul.names li:nth-child(even) { + background-color: white; +} + +body.index .container a:visited { + color: #666; +} + +body.index .container a:hover { + color: #04819e; +} diff --git a/blackandwhite.css b/blackandwhite.css new file mode 100644 index 0000000..3486cbf --- /dev/null +++ b/blackandwhite.css @@ -0,0 +1,248 @@ +html, +body { + margin: 0; + padding: 0; + border: 0; + height: 100%; + font-family: "Trebuchet MS", Helvetica, sans-serif; + font-size: 11pt; + background-color: #fff; +} + +a, +a:active, +a:visited { + text-decoration: none; + color: inherit; +} + +a:hover { + text-decoration: underline; +} + +header { + padding: 5px 11px; + border-bottom: 3px solid #659fdb; + box-shadow: 0 -8px 22px 0; + background-color: #252525; + color: white; + font-size: 9pt; +} + +.wrapper { + min-height: 100%; +} + +header nav, +header strong { + font-size: 11pt; +} + +header nav { + float: right; +} + +footer { + height: 30px; + width: 100%; + border-top: 1px solid #aaa; + margin-top: -31px; + text-align: center; + color: #666; + line-height: 30px; + font-size: 9pt; + background: none repeat scroll 0 0 #ddd; +} + +.container { + padding: 10px 10px 41px 20px; +} + +h1 { + margin: 0; + margin-bottom: 5px; + font-size: 14pt; + font-family: "Trebuchet MS", Helvetica, sans-serif; +} + +#module-header { + border-bottom: 1px solid #bbb; + padding-bottom: 2px; +} + +ul { + list-style-type: none; + margin: 0; + padding: 0; +} + +hr { + margin: 0; + padding: 0; + border: 0; + border-bottom: 1px solid #bbb; +} + +p { + margin: 0; + padding: 0; +} + +pre { + display: inline; + margin: 0; + padding: 0; +} + +.code { + font-family: "Lucida Console", Monaco, monospace; + font-size: 10pt; +} + +.decls { + margin-top: 5px; +} + +.decls > dt { + font-family: "Lucida Console", Monaco, monospace; + font-size: 10pt; + line-height: 20px; + padding: 2px 6px; + border: 1px solid #ccc; + background-color: #f0f0f0; + display: table; + width: 100%; + box-sizing: border-box; + white-space: pre-wrap; +} + +.decls > dd { + margin: 10px 0 20px 20px; + font-family: Arial, sans-serif; + font-size: 10pt; +} + +.decls > dd > p { + margin-bottom: 8px; +} + +.decls > dd > dl:not(.decls):not(:first-child) { + padding-top: 5px; + border-top: 1px solid #eee; +} + +.decls > dd > dl:not(.decls) > dt { + display: block; + min-width: 70px; + float: left; + font-weight: bold; +} + +.decls > dd > dl:not(.decls) > dd { + margin-bottom: 2px; +} + +.fixity { + font-style: italic; + font-weight: normal !important; +} + +dd.fixity { + cursor: default; +} + +.word { + display: table-cell; + white-space: nowrap; + width: 0; +} + +.signature { + display: table-cell; + width: 100%; +} + +.name { + white-space: nowrap; + width: 0; +} + +.documented, +.name { + cursor: default; + font-weight: normal; + font-style: normal; + font-variant: normal; +} + +.documented { + font-weight: bold; +} + +a.function { + font-style: italic; +} + +.function { + font-style: italic; +} + +a.constructor { + font-weight: bold; +} + +.constructor { + font-weight: bold; +} + +a.type { + font-variant: small-caps !important; +} + +.type { + font-variant: small-caps !important; +} + +.keyword { + text-decoration: underline; + color: inherit; +} + +.boundvar { + color: #bf30bf; /* Too much colour makes it hard to differ the rest of the colours */ + color: inherit; +} + +.boundvar.implicit { + text-decoration: underline; +} + +ul.names { + border: 1px solid #666; +} + +ul.names li { + padding-left: 5px; +} + +ul.names li a { + display: inline-block; + width: 100%; + padding: 2px 0; +} + +ul.names li:nth-child(odd) { + background-color: #eeeeef; +} + +ul.names li:nth-child(even) { + background-color: white; +} + +body.index .container a:visited { + color: #666; +} + +body.index .container a:hover { + color: #04819e; +} diff --git a/styles.css b/default.css similarity index 95% rename from styles.css rename to default.css index 916ca7c..306aaea 100644 --- a/styles.css +++ b/default.css @@ -65,7 +65,7 @@ h1 { font-family: "Trebuchet MS", Helvetica, sans-serif; } -#moduleHeader { +#module-header { border-bottom: 1px solid #bbb; padding-bottom: 2px; } @@ -88,6 +88,12 @@ p { padding: 0; } +pre { + display: inline; + margin: 0; + padding: 0; +} + .code { font-family: "Lucida Console", Monaco, monospace; font-size: 10pt; @@ -195,12 +201,11 @@ a.type { } .keyword { - color: inherit; + color: #999; } .boundvar { - color: #bf30bf; /* Too much colour makes it hard to differ the rest of the colours */ - color: inherit; + color: #bf30bf; } .boundvar.implicit { diff --git a/docs/Collie.Core.html b/docs/Collie.Core.html index 75b7ee7..d394bd4 100644 --- a/docs/Collie.Core.html +++ b/docs/Collie.Core.html @@ -1 +1,64 @@ -Collie.Core
Idris2Doc : Collie.Core

Collie.Core

dataAny : ((0 nm : String) -> Commandnm -> Type) -> Commandnm -> Type
Totality: total
Constructors:
Here : pnmcmd -> Anypcmd
There : (pos : IsFieldc (cmd.subcommands)) -> Anyp (snd (fieldpos)) -> Anypcmd
recordCommand : String -> Type
Totality: total
Constructor: 
MkCommand : String -> FieldsCommand -> FieldsModifier -> Arguments -> Commandname

Projections:
arguments : Commandname -> Arguments
description : Commandname -> String
modifiers : Commandname -> FieldsModifier
subcommands : Commandname -> FieldsCommand
ParseTree : Commandnm -> Type
Totality: total
ParseTreeT : (Type -> Type) -> (Type -> Type) -> Commandnm -> Type
Totality: total
recordParsedCommand : (0 nm : String) -> Commandnm -> Type
Totality: total
Constructor: 
MkParsedCommand : ParsedModifiers (cmd.modifiers) -> ParsedArguments (cmd.arguments) -> ParsedCommandnmcmd

Projections:
arguments : ParsedCommandnmcmd -> ParsedArguments (cmd.arguments)
modifiers : ParsedCommandnmcmd -> ParsedModifiers (cmd.modifiers)
recordParsedCommandT : (Type -> Type) -> (Type -> Type) -> (0 nm : String) -> Commandnm -> Type
Totality: total
Constructor: 
MkParsedCommandT : ParsedModifiersTfg (cmd.modifiers) -> ParsedArgumentsTg (cmd.arguments) -> ParsedCommandTfgnmcmd

Projections:
arguments : ParsedCommandTfgnmcmd -> ParsedArgumentsTg (cmd.arguments)
modifiers : ParsedCommandTfgnmcmd -> ParsedModifiersTfg (cmd.modifiers)
basic : String -> Arguments -> CommandcmdName
Totality: total
initParsedCommand : ParsedCommandTMaybeMaybenmcmd
Totality: total
lookup : Anypc -> DPairString (\nm => Commandnm)
Totality: total
\ No newline at end of file + + + + + Collie.Core + + + + + +
+ Idris2Doc : Collie.Core + + + + +
+

Collie.Core

Reexports

importpublic Collie.Options.Domain
importpublic Collie.Options.Usual
importpublic Collie.Modifiers
importpublic Data.Record
importpublic Data.Record.SmartConstructors
importpublic Data.Vect
importpublic Data.DPair
importpublic Data.Magma
importpublic Syntax.WithProof
importpublic Decidable.Decidable
importpublic Decidable.Decidable.Extra1

Definitions

recordCommand : String->Type
Totality: total
Visibility: public export
Constructor: 
MkCommand : String->FieldsCommand->FieldsModifier->Arguments->Commandname

Projections:
.arguments : Commandname->Arguments
.description : Commandname->String
.modifiers : Commandname->FieldsModifier
.subcommands : Commandname->FieldsCommand
.description : Commandname->String
Totality: total
Visibility: public export
description : Commandname->String
Totality: total
Visibility: public export
.subcommands : Commandname->FieldsCommand
Totality: total
Visibility: public export
subcommands : Commandname->FieldsCommand
Totality: total
Visibility: public export
.modifiers : Commandname->FieldsModifier
Totality: total
Visibility: public export
modifiers : Commandname->FieldsModifier
Totality: total
Visibility: public export
.arguments : Commandname->Arguments
Totality: total
Visibility: public export
arguments : Commandname->Arguments
Totality: total
Visibility: public export
basic : String->Arguments->CommandcmdName
Totality: total
Visibility: public export
dataAny : ((0nm : String) ->Commandnm->Type) ->Commandnm->Type
Totality: total
Visibility: public export
Constructors:
Here : pnmcmd->Anypcmd
There : (pos : IsFieldc (cmd.subcommands)) ->Anyp (snd (fieldpos)) ->Anypcmd
map : ((cmd : Commandnm) ->pnmcmd->qnmcmd) ->Anypcmd->Anyqcmd
Totality: total
Visibility: public export
traverse : Applicativem=> ((cmd : Commandnm) ->pnmcmd->m (qnmcmd)) ->Anypcmd->m (Anyqcmd)
Totality: total
Visibility: public export
recordParsedCommandT : (Type->Type) -> (Type->Type) -> (0nm : String) ->Commandnm->Type
Totality: total
Visibility: public export
Constructor: 
MkParsedCommandT : ParsedModifiersTfg (cmd.modifiers) ->ParsedArgumentsTg (cmd.arguments) ->ParsedCommandTfgnmcmd

Projections:
.arguments : ParsedCommandTfgnmcmd->ParsedArgumentsTg (cmd.arguments)
.modifiers : ParsedCommandTfgnmcmd->ParsedModifiersTfg (cmd.modifiers)
.modifiers : ParsedCommandTfgnmcmd->ParsedModifiersTfg (cmd.modifiers)
Totality: total
Visibility: public export
modifiers : ParsedCommandTfgnmcmd->ParsedModifiersTfg (cmd.modifiers)
Totality: total
Visibility: public export
.arguments : ParsedCommandTfgnmcmd->ParsedArgumentsTg (cmd.arguments)
Totality: total
Visibility: public export
arguments : ParsedCommandTfgnmcmd->ParsedArgumentsTg (cmd.arguments)
Totality: total
Visibility: public export
recordParsedCommand : (0nm : String) ->Commandnm->Type
Totality: total
Visibility: public export
Constructor: 
MkParsedCommand : ParsedModifiers (cmd.modifiers) ->ParsedArguments (cmd.arguments) ->ParsedCommandnmcmd

Projections:
.arguments : ParsedCommandnmcmd->ParsedArguments (cmd.arguments)
.modifiers : ParsedCommandnmcmd->ParsedModifiers (cmd.modifiers)
.modifiers : ParsedCommandnmcmd->ParsedModifiers (cmd.modifiers)
Totality: total
Visibility: public export
modifiers : ParsedCommandnmcmd->ParsedModifiers (cmd.modifiers)
Totality: total
Visibility: public export
.arguments : ParsedCommandnmcmd->ParsedArguments (cmd.arguments)
Totality: total
Visibility: public export
arguments : ParsedCommandnmcmd->ParsedArguments (cmd.arguments)
Totality: total
Visibility: public export
defaulting : ParsedCommandTMaybefnmcmd->ParsedCommandTidfnmcmd
Totality: total
Visibility: public export
finalising : ParsedCommandTMaybeMaybenmcmd->Error (ParsedCommandnmcmd)
Totality: total
Visibility: public export
ParseTreeT : (Type->Type) -> (Type->Type) ->Commandnm->Type
Totality: total
Visibility: public export
ParseTree : Commandnm->Type
Totality: total
Visibility: public export
defaulting : ParseTreeTMaybefcmd->ParseTreeTidfcmd
Totality: total
Visibility: public export
finalising : ParseTreeTMaybeMaybecmd->Error (ParseTreecmd)
Totality: total
Visibility: public export
lookup : Anypc-> (nm : String**Commandnm)
Totality: total
Visibility: public export
.update : ParsedArgumentsTMaybearg->String->Error (ParsedArgumentsTMaybearg)
Totality: total
Visibility: public export
.parse : (args : Arguments) ->ParsedArgumentsTMaybeargs->ListString->Error (ParsedArgumentsTMaybeargs)
Totality: total
Visibility: public export
initParsedCommand : ParsedCommandTMaybeMaybenmcmd
Totality: total
Visibility: public export
\ No newline at end of file diff --git a/docs/Collie.Error.html b/docs/Collie.Error.html index 59fac54..d35114c 100644 --- a/docs/Collie.Error.html +++ b/docs/Collie.Error.html @@ -1 +1,64 @@ -Collie.Error
Idris2Doc : Collie.Error

Collie.Error

(>>=) : Errora -> (a -> Errorb) -> Errorb
Totality: total
Fixity Declaration: infixl operator, level 1
dataError : Type -> Type
Totality: total
Constructors:
Fail : List1ErrorMsg -> Errora
Pure : a -> Errora
dataErrorMsg : Type
Totality: total
Constructors:
CouldNotParse : String -> ErrorMsg
MissingOption : String -> ErrorMsg
MissingArgument : ErrorMsg
OptionSetTwice : String -> ErrorMsg
TooManyArguments : ErrorMsg
MissingOptArg : String -> ErrorMsg
exitWith : List1ErrorMsg -> IOa
Totality: total
fromEither : EitherErrorMsga -> Errora
Totality: total
throwE : ErrorMsg -> Errora
Totality: total
\ No newline at end of file + + + + + Collie.Error + + + + + +
+ Idris2Doc : Collie.Error + + + + +
+

Collie.Error

Definitions

dataErrorMsg : Type
Totality: total
Visibility: public export
Constructors:
CouldNotParse : String->ErrorMsg
MissingOption : String->ErrorMsg
MissingArgument : ErrorMsg
OptionSetTwice : String->ErrorMsg
TooManyArguments : ErrorMsg
MissingOptArg : String->ErrorMsg

Hint: 
ShowErrorMsg
dataError : Type->Type
Totality: total
Visibility: public export
Constructors:
Fail : List1ErrorMsg->Errora
Pure : a->Errora

Hints:
ApplicativeError
FunctorError
Showa=>Show (Errora)
throwE : ErrorMsg->Errora
Totality: total
Visibility: export
fromEither : EitherErrorMsga->Errora
Totality: total
Visibility: export
(>>=) : Errora-> (a->Errorb) ->Errorb
Totality: total
Visibility: export
Fixity Declaration: infixl operator, level 1
exitWith : List1ErrorMsg->IOa
Totality: total
Visibility: export
\ No newline at end of file diff --git a/docs/Collie.Modifiers.html b/docs/Collie.Modifiers.html index 353917f..d85e3ee 100644 --- a/docs/Collie.Modifiers.html +++ b/docs/Collie.Modifiers.html @@ -1 +1,64 @@ -Collie.Modifiers
Idris2Doc : Collie.Modifiers

Collie.Modifiers

(::=) : {0 a : String -> Type} -> (nm : String) -> anm -> DPairString (\nm => anm)
Totality: total
Fixity Declaration: infix operator, level 1
Flag : Fields (constType)
Totality: total
dataModifier : String -> Type
Totality: total
Constructors:
MkFlag : RecordsndFlag -> Modifiernm
MkOption : RecordsndOption -> Modifiernm
Option : Fields (constType)
Totality: total
ParsedModifier : Modifiernm -> Type
Totality: total
ParsedModifierT : (Type -> Type) -> (Type -> Type) -> Modifiernm -> Type
Totality: total
ParsedModifiers : FieldsModifier -> Type
Totality: total
ParsedModifiersT : (Type -> Type) -> (Type -> Type) -> FieldsModifier -> Type
Totality: total
defaulting : ParsedModifiersTMaybefmods -> ParsedModifiersTidfmods
All the flags have a default value. If no value has been set then use
that default instead.
Totality: total
finalising : ParsedModifiersTMaybeMaybemods -> Error (ParsedModifiersmods)
Setting the flags to their default value and ensuring that the required
options are passed.
Totality: total
flag : String -> {defaultFalse_ : Bool} -> Modifiernm
Totality: total
initNothing : ParsedModifiersTMaybeMaybeflds
Totality: total
option : String -> Arguments -> Modifiernm
Totality: total
updateModifier : ParsedModifierTididmod -> ParsedModifierTMaybeMaybemod -> Error (ParsedModifierTMaybeMaybemod)
Totality: total
\ No newline at end of file + + + + + Collie.Modifiers + + + + + +
+ Idris2Doc : Collie.Modifiers + + + + +
+

Collie.Modifiers

Reexports

importpublic Data.Record
importpublic Collie.Options.Domain
importpublic Collie.Error

Definitions

(::=) : {0a : String->Type} -> (nm : String) ->anm-> (nm : String**anm)
Totality: total
Visibility: public export
Fixity Declarations:
infix operator, level 1
infix operator, level 1
infix operator, level 4
Flag : Fields (constType)
Totality: total
Visibility: public export
Option : Fields (constType)
Totality: total
Visibility: public export
dataModifier : String->Type
Totality: total
Visibility: public export
Constructors:
MkFlag : RecordsndFlag->Modifiernm
MkOption : RecordsndOption->Modifiernm
flag : String-> {defaultFalse_ : Bool} ->Modifiernm
Totality: total
Visibility: public export
option : String->Arguments->Modifiernm
Totality: total
Visibility: public export
ParsedModifierT : (Type->Type) -> (Type->Type) ->Modifiernm->Type
Totality: total
Visibility: public export
ParsedModifier : Modifiernm->Type
Totality: total
Visibility: public export
ParsedModifiersT : (Type->Type) -> (Type->Type) ->FieldsModifier->Type
Totality: total
Visibility: public export
ParsedModifiers : FieldsModifier->Type
Totality: total
Visibility: public export
updateModifier : ParsedModifierTididmod->ParsedModifierTMaybeMaybemod->Error (ParsedModifierTMaybeMaybemod)
Totality: total
Visibility: public export
.update : ParsedModifiersTMaybeMaybemods-> (pos : Anypmods) ->ParsedModifierTidid (snd (fieldpos)) ->Error (ParsedModifiersTMaybeMaybemods)
Totality: total
Visibility: public export
defaulting : ParsedModifiersTMaybefmods->ParsedModifiersTidfmods
  All the flags have a default value. If no value has been set then use
that default instead.

Totality: total
Visibility: public export
finalising : Lazy ErrorMsg-> (args : Arguments) ->ParsedArgumentsTMaybeargs->Error (ParsedArgumentsargs)
Totality: total
Visibility: public export
finalising : (mod : Modifiernm) ->ParsedModifierTMaybeMaybemod->Error (ParsedModifiermod)
Totality: total
Visibility: public export
finalising : ParsedModifiersTMaybeMaybemods->Error (ParsedModifiersmods)
  Setting the flags to their default value and ensuring that the required
options are passed.

Totality: total
Visibility: public export
initNothing : ParsedModifiersTMaybeMaybeflds
Totality: total
Visibility: public export
\ No newline at end of file diff --git a/docs/Collie.Options.Domain.html b/docs/Collie.Options.Domain.html index 4ad12bc..703d0b5 100644 --- a/docs/Collie.Options.Domain.html +++ b/docs/Collie.Options.Domain.html @@ -1 +1,64 @@ -Collie.Options.Domain
Idris2Doc : Collie.Options.Domain

Collie.Options.Domain

recordArguments : Type
Totality: total
Constructor: 
MkArguments : Bool -> (domain : Domain) -> Parserdomain -> Arguments

Projections:
domain : Arguments -> Domain
rawParser : (rec : Arguments) -> Parser (domainrec)
required : Arguments -> Bool
Carrier : Domain -> Type
Totality: total
dataDomain : Type
Totality: total
Constructors:
Some : Type -> Domain
ALot : RawMagma -> Domain
ParsedArguments : Arguments -> Type
Totality: total
ParsedArgumentsT : (Type -> Type) -> Arguments -> Type
Totality: total
Parser : Domain -> Type
Totality: total
elimDomain : {p : Domain -> Type} -> ((d : Type) -> p (Somed)) -> ((ds : RawMagma) -> p (ALotds)) -> (d : Domain) -> pd
Totality: total
\ No newline at end of file + + + + + Collie.Options.Domain + + + + + +
+ Idris2Doc : Collie.Options.Domain + + + + +
+

Collie.Options.Domain

Definitions

dataDomain : Type
Totality: total
Visibility: public export
Constructors:
Some : Type->Domain
ALot : RawMagma->Domain
elimDomain : {p : Domain->Type} -> ((d : Type) ->p (Somed)) -> ((ds : RawMagma) ->p (ALotds)) -> (d : Domain) ->pd
Totality: total
Visibility: public export
Carrier : Domain->Type
Totality: total
Visibility: public export
Parser : Domain->Type
Totality: total
Visibility: public export
recordArguments : Type
Totality: total
Visibility: public export
Constructor: 
MkArguments : Bool-> (domain : Domain) ->Parserdomain->Arguments

Projections:
.domain : Arguments->Domain
.rawParser : ({rec:0} : Arguments) ->Parser (domain{rec:0})
.required : Arguments->Bool
.required : Arguments->Bool
Totality: total
Visibility: public export
required : Arguments->Bool
Totality: total
Visibility: public export
.domain : Arguments->Domain
Totality: total
Visibility: public export
domain : Arguments->Domain
Totality: total
Visibility: public export
.rawParser : ({rec:0} : Arguments) ->Parser (domain{rec:0})
Totality: total
Visibility: public export
rawParser : ({rec:0} : Arguments) ->Parser (domain{rec:0})
Totality: total
Visibility: public export
.parser : (arg : Arguments) ->String->Error (Carrier (arg.domain))
Totality: total
Visibility: public export
ParsedArgumentsT : (Type->Type) ->Arguments->Type
Totality: total
Visibility: public export
ParsedArguments : Arguments->Type
Totality: total
Visibility: public export
\ No newline at end of file diff --git a/docs/Collie.Options.Usual.html b/docs/Collie.Options.Usual.html index ccfe8dd..32b3eaf 100644 --- a/docs/Collie.Options.Usual.html +++ b/docs/Collie.Options.Usual.html @@ -1 +1,64 @@ -Collie.Options.Usual
Idris2Doc : Collie.Options.Usual

Collie.Options.Usual

FilePath : Type
Totality: total
Regex : Type
Totality: total
Regexp : Type
Totality: total
Url : Type
Totality: total
filePath : Arguments
Totality: total
integer : Arguments
Totality: total
lotsOf : Arguments -> Arguments
Totality: total
nat : Arguments
Totality: total
none : Arguments
Totality: total
regex : Arguments
Totality: total
regexp : Arguments
Totality: total
url : Arguments
Totality: total
\ No newline at end of file + + + + + Collie.Options.Usual + + + + + +
+ Idris2Doc : Collie.Options.Usual + + + + +
+

Collie.Options.Usual

Definitions

none : Arguments
Totality: total
Visibility: public export
lotsOf : Arguments->Arguments
Totality: total
Visibility: public export
Regex : Type
Totality: total
Visibility: public export
regex : Arguments
Totality: total
Visibility: public export
FilePath : Type
Totality: total
Visibility: public export
filePath : Arguments
Totality: total
Visibility: public export
Regexp : Type
Totality: total
Visibility: public export
regexp : Arguments
Totality: total
Visibility: public export
Url : Type
Totality: total
Visibility: public export
url : Arguments
Totality: total
Visibility: public export
nat : Arguments
Totality: total
Visibility: public export
integer : Arguments
Totality: total
Visibility: public export
\ No newline at end of file diff --git a/docs/Collie.Parser.html b/docs/Collie.Parser.html index 4e9ef48..3cd863c 100644 --- a/docs/Collie.Parser.html +++ b/docs/Collie.Parser.html @@ -1 +1,64 @@ -Collie.Parser
Idris2Doc : Collie.Parser

Collie.Parser

parse : (cmd : Commandnm) -> ListString -> Error (ParseTreeTMaybeMaybecmd)
Totality: total
parseCommand : (cmd : Commandnm) -> ListString -> ParsedCommandTMaybeMaybenmcmd -> Error (ParsedCommandTMaybeMaybenmcmd)
Totality: total
parseModifier : (cmd : Commandnm) -> (pos : IsFieldmodName (cmd.modifiers)) -> ListString -> ParsedCommandTMaybeMaybenmcmd -> (ParsedModifierTidid (snd (fieldpos)) -> Error (ParsedModifiersTMaybeMaybe (cmd.modifiers))) -> Error (ParsedCommandTMaybeMaybenmcmd)
Totality: total
\ No newline at end of file + + + + + Collie.Parser + + + + + +
+ Idris2Doc : Collie.Parser + + + + +
+

Collie.Parser

Definitions

parseCommand : (cmd : Commandnm) ->ListString->ParsedCommandTMaybeMaybenmcmd->Error (ParsedCommandTMaybeMaybenmcmd)
Totality: total
Visibility: public export
parseModifier : (cmd : Commandnm) -> (pos : IsFieldmodName (cmd.modifiers)) ->ListString->ParsedCommandTMaybeMaybenmcmd-> (ParsedModifierTidid (snd (fieldpos)) ->Error (ParsedModifiersTMaybeMaybe (cmd.modifiers))) ->Error (ParsedCommandTMaybeMaybenmcmd)
Totality: total
Visibility: public export
parse : (cmd : Commandnm) ->ListString->Error (ParseTreeTMaybeMaybecmd)
Totality: total
Visibility: public export
\ No newline at end of file diff --git a/docs/Collie.Usage.html b/docs/Collie.Usage.html index d6264a4..bd4370f 100644 --- a/docs/Collie.Usage.html +++ b/docs/Collie.Usage.html @@ -1 +1,64 @@ -Collie.Usage
Idris2Doc : Collie.Usage

Collie.Usage

Printer : Type
Totality: total
namedBlock : String -> String -> Nat -> Nat -> Printer
Totality: total
usageCommand : CommandcmdName -> Nat -> Nat -> Printer
Totality: total
usageModifiers : FieldsModifier -> Nat -> Nat -> Printer
Totality: total
\ No newline at end of file + + + + + Collie.Usage + + + + + +
+ Idris2Doc : Collie.Usage + + + + +
+

Collie.Usage

Definitions

Printer : Type
Totality: total
Visibility: public export
namedBlock : String->String->Nat->Nat->Printer
Totality: total
Visibility: export
usageModifiers : FieldsModifier->Nat->Nat->Printer
Totality: total
Visibility: export
usageCommand : CommandcmdName->Nat->Nat->Printer
Totality: total
Visibility: export
.usage : {default80_ : Nat} ->CommandcmdName->String
Totality: total
Visibility: export
\ No newline at end of file diff --git a/docs/Collie.html b/docs/Collie.html index 0085424..502261e 100644 --- a/docs/Collie.html +++ b/docs/Collie.html @@ -1,5 +1,69 @@ -Collie
Idris2Doc : Collie

Collie

Collie: Command line interface for Idris2 applications + -Based on Guillaume Allais's agdARGS library: + + + Collie + + + -https://github.com/gallais/agdargs/

(::) : (ParsedCommand (cmd.fst) (cmd.snd) -> a) -> Checkable (Handlersa) ((cmd.snd) .subcommands) -> Handlersacmd
Givent that we already have list syntax to build records, this gives us the
ability to use list syntax to build `Handlers`: the head will be the handler
for the toplevel command and the tail will go towards building the record of
handlers for the subcommands.
Totality: total
Fixity Declaration: infixr operator, level 7
recordHandlers : Type -> FieldCommand -> Type
Totality: total
Constructor: 
MkHandlers : (ParsedCommand (cmd.fst) (cmd.snd) -> a) -> Checkable (Handlersa) ((cmd.snd) .subcommands) -> Handlersacmd

Projections:
here : Handlersacmd -> ParsedCommand (cmd.fst) (cmd.snd) -> a
there : Handlersacmd -> Checkable (Handlersa) ((cmd.snd) .subcommands)
handle : ParseTree (cmd.snd) -> Handlersacmd -> a
Handling a parsetree is pretty simple: use `there` together with `(!!)` to
select the appropriate subhandler while you're encountering the `There`
constructor and finish up with `here`.
Totality: total
(~~>) : Commandarg -> Type -> Type
A nicer notation for handlers
Totality: total
Fixity Declaration: infixr operator, level 4
\ No newline at end of file + +
+ Idris2Doc : Collie + + + + +
+

Collie

Collie: Command line interface for Idris2 applications
+
+Based on Guillaume Allais's agdARGS library:
+
+https://github.com/gallais/agdargs/
+

Reexports

importpublic Collie.Core
importpublic Collie.Parser
importpublic Collie.Usage
importpublic Collie.Options.Domain
importpublic Collie.Options.Usual
importpublic Collie.Modifiers
importpublic Data.Record
importpublic Data.Record.SmartConstructors
importpublic Data.DPair
importpublic Data.Magma
importpublic Data.SnocList
importpublic System

Definitions

.parseArgs : (cmd : Commandnm) ->HasIOio=>io (EitherString (ParseTreeTMaybeMaybecmd))
Totality: total
Visibility: public export
recordHandlers : Type->FieldCommand->Type
Totality: total
Visibility: public export
Constructor: 
MkHandlers : (ParsedCommand (cmd.fst) (cmd.snd) ->a) ->Checkable (Handlersa) ((cmd.snd) .subcommands) ->Handlersacmd

Projections:
.here : Handlersacmd->ParsedCommand (cmd.fst) (cmd.snd) ->a
.there : Handlersacmd->Checkable (Handlersa) ((cmd.snd) .subcommands)
.here : Handlersacmd->ParsedCommand (cmd.fst) (cmd.snd) ->a
Totality: total
Visibility: public export
here : Handlersacmd->ParsedCommand (cmd.fst) (cmd.snd) ->a
Totality: total
Visibility: public export
.there : Handlersacmd->Checkable (Handlersa) ((cmd.snd) .subcommands)
Totality: total
Visibility: public export
there : Handlersacmd->Checkable (Handlersa) ((cmd.snd) .subcommands)
Totality: total
Visibility: public export
(::) : (ParsedCommand (cmd.fst) (cmd.snd) ->a) ->Checkable (Handlersa) ((cmd.snd) .subcommands) ->Handlersacmd
  Givent that we already have list syntax to build records, this gives us the
ability to use list syntax to build `Handlers`: the head will be the handler
for the toplevel command and the tail will go towards building the record of
handlers for the subcommands.

Totality: total
Visibility: public export
Fixity Declaration: infixr operator, level 7
0(~~>) : Commandarg->Type->Type
  A nicer notation for handlers

Totality: total
Visibility: public export
Fixity Declaration: infixr operator, level 4
handle : ParseTree (cmd.snd) ->Handlersacmd->a
  Handling a parsetree is pretty simple: use `there` together with `(!!)` to
select the appropriate subhandler while you're encountering the `There`
constructor and finish up with `here`.

Totality: total
Visibility: public export
.handleWith : (cmd : Commandnm) ->cmd~~>IOa->IOa
  Finally we can put the various pieces together to get a toplevel command
parsing the arguments and handling the resulting command using the
user-provided handlers

Totality: total
Visibility: public export
\ No newline at end of file diff --git a/docs/Data.List.Fresh.Elem.html b/docs/Data.List.Fresh.Elem.html index 607d7ff..6346398 100644 --- a/docs/Data.List.Fresh.Elem.html +++ b/docs/Data.List.Fresh.Elem.html @@ -1 +1,64 @@ -Data.List.Fresh.Elem
Idris2Doc : Data.List.Fresh.Elem

Data.List.Fresh.Elem

dataElem : a -> FreshListaneq -> Type
Totality: total
Constructors:
Here : Elemxx::xs
There : Elemyxs -> Elemyx::xs
recallId : (xs : FreshListaneq) -> (pos : Elemxxs) -> xs.recallpos = x
Totality: total
\ No newline at end of file + + + + + Data.List.Fresh.Elem + + + + + +
+ Idris2Doc : Data.List.Fresh.Elem + + + + +
+

Data.List.Fresh.Elem

Definitions

dataElem : a->FreshListaneq->Type
Totality: total
Visibility: public export
Constructors:
Here : Elemx (x::xs)
There : Elemyxs->Elemy (x::xs)

Hints:
Uninhabited (Here=Theree)
Uninhabited (Theree=Here)
.recall : (xs : FreshListaneq) ->Elemxxs->a
Totality: total
Visibility: public export
recallId : (xs : FreshListaneq) -> (pos : Elemxxs) ->xs.recallpos=x
Totality: total
Visibility: public export
\ No newline at end of file diff --git a/docs/Data.List.Fresh.Quantifiers.SmartConstructors.html b/docs/Data.List.Fresh.Quantifiers.SmartConstructors.html index a26c10e..f901c4e 100644 --- a/docs/Data.List.Fresh.Quantifiers.SmartConstructors.html +++ b/docs/Data.List.Fresh.Quantifiers.SmartConstructors.html @@ -1 +1,64 @@ -Data.List.Fresh.Quantifiers.SmartConstructors
Idris2Doc : Data.List.Fresh.Quantifiers.SmartConstructors

Data.List.Fresh.Quantifiers.SmartConstructors

(::) : {autoconArg : DecEqa} -> (xpx : DPaira (\x => px)) -> {auto 0 pos : IsYes (isElem (xpx.fst) xs)} -> Allp (remove (toWitnesspos)) -> Allpxs
Totality: total
Fixity Declaration: infixr operator, level 7
mkAny : {autoconArg : DecEqa} -> (x : a) -> {auto 0 _ : IsYes (isElemxxs)} -> px -> Anypxs
Totality: total
\ No newline at end of file + + + + + Data.List.Fresh.Quantifiers.SmartConstructors + + + + + +
+ Idris2Doc : Data.List.Fresh.Quantifiers.SmartConstructors + + + + +
+

Data.List.Fresh.Quantifiers.SmartConstructors

Definitions

mkAny : {auto{conArg:3089} : DecEqa} -> (x : a) -> {auto0_ : IsYes (isElemxxs)} ->px->Anypxs
Totality: total
Visibility: public export
(::) : {auto{conArg:3180} : DecEqa} -> (xpx : (x : a**px)) -> {auto0pos : IsYes (isElem (xpx.fst) xs)} ->Allp (remove (toWitnesspos)) ->Allpxs
Totality: total
Visibility: public export
Fixity Declaration: infixr operator, level 7
\ No newline at end of file diff --git a/docs/Data.List.Fresh.Quantifiers.html b/docs/Data.List.Fresh.Quantifiers.html index c7cd525..3479f02 100644 --- a/docs/Data.List.Fresh.Quantifiers.html +++ b/docs/Data.List.Fresh.Quantifiers.html @@ -1 +1,64 @@ -Data.List.Fresh.Quantifiers
Idris2Doc : Data.List.Fresh.Quantifiers

Data.List.Fresh.Quantifiers

(!!) : Allpxs -> (pos : Anyqxs) -> p (lookuppos)
Totality: total
Fixity Declaration: infixr operator, level 4
any : ((x : a) -> Dec (px)) -> (xs : FreshListaneq) -> Dec (Anypxs)
Totality: total
insertLookedup : (pos : Anyqxs) -> p (lookuppos) -> Allp (removepos) -> Allpxs
Totality: total
insertWith : ((y : a) -> qy -> py) -> (pos : Anyqxs) -> Allp (removepos) -> Allpxs
Totality: total
isElem : DecEqa => (x : a) -> (xs : FreshListaneq) -> Dec (Any (\{arg:0} => x = arg) xs)
Totality: total
lookup : Anypxs -> a
Totality: total
lookupWithProof : Anypxs -> DPaira (\x => px)
Totality: total
remove : Anypxs -> FreshListaneq
Totality: total
sequence : Applicativef => All (f.p) xs -> f (Allpxs)
Totality: total
tabulate : ((x : a) -> px) -> Allpxs
Totality: total
traverse : Applicativef => ((x : a) -> px -> f (qx)) -> Allpxs -> f (Allqxs)
Totality: total
\ No newline at end of file + + + + + Data.List.Fresh.Quantifiers + + + + + +
+ Idris2Doc : Data.List.Fresh.Quantifiers + + + + +
+

Data.List.Fresh.Quantifiers

Definitions

dataAny : (0_ : (a->Type)) ->FreshListaneq->Type
Totality: total
Visibility: public export
Constructors:
Here : {auto0fresh : x#xs} ->px->Anyp (x::xs)
There : {auto0fresh : x#xs} ->Anypxs->Anyp (x::xs)

Hint: 
Uninhabited (Anyp [])
dataAll : (0_ : (a->Type)) ->FreshListaneq->Type
Totality: total
Visibility: public export
Constructors:
Nil : Allp []
(::) : px-> {auto0fresh : x#xs} ->Allpxs->Allp (x::xs)
lookupWithProof : Anypxs-> (x : a**px)
Totality: total
Visibility: public export
lookup : Anypxs->a
Totality: total
Visibility: public export
remove : Anypxs->FreshListaneq
Totality: total
Visibility: public export
(!!) : Allpxs-> (pos : Anyqxs) ->p (lookuppos)
Totality: total
Visibility: public export
Fixity Declaration: infixr operator, level 4
.toFreshList : Allpxs->FreshList (x : a**px) (neq `on` .fst)
Totality: total
Visibility: public export
0.toFreshListFreshness : (rec : Allpxs) ->y#xs-> (y**{_:3728}) #rec.toFreshList
Totality: total
Visibility: public export
traverse : Applicativef=> ((x : a) ->px->f (qx)) ->Allpxs->f (Allqxs)
Totality: total
Visibility: public export
sequence : Applicativef=>All (f.p) xs->f (Allpxs)
Totality: total
Visibility: public export
any : ((x : a) ->Dec (px)) -> (xs : FreshListaneq) ->Dec (Anypxs)
Totality: total
Visibility: public export
isElem : DecEqa=> (x : a) -> (xs : FreshListaneq) ->Dec (Any (\{arg:0}=>x={arg:0}) xs)
Totality: total
Visibility: public export
.update : Applicativef=>Allpxs-> (pos : Anyqxs) -> (p (lookuppos) ->f (p (lookuppos))) ->f (Allpxs)
Totality: total
Visibility: public export
map : ((x : a) ->px->qx) ->Anypxs->Anyqxs
  Map a function

Totality: total
Visibility: public export
map : ((x : a) ->px->qx) ->Allpxs->Allqxs
  Map a function

Totality: total
Visibility: public export
mapSupport : ((pos : Anyfxs) ->q (lookuppos)) ->Allfxs->Allqxs
  Map a function restricted to the support of the list

Totality: total
Visibility: public export
tabulate : ((x : a) ->px) ->Allpxs
Totality: total
Visibility: public export
foldl : (b->a->b) ->b->All (consta) xs->b
Totality: total
Visibility: public export
foldr : (a->b->b) ->b->All (consta) xs->b
Totality: total
Visibility: public export
insertWith : ((y : a) ->qy->py) -> (pos : Anyqxs) ->Allp (removepos) ->Allpxs
Totality: total
Visibility: public export
insertLookedup : (pos : Anyqxs) ->p (lookuppos) ->Allp (removepos) ->Allpxs
Totality: total
Visibility: public export
\ No newline at end of file diff --git a/docs/Data.List.Fresh.html b/docs/Data.List.Fresh.html index dba7245..acc4c5c 100644 --- a/docs/Data.List.Fresh.html +++ b/docs/Data.List.Fresh.html @@ -1,11 +1,70 @@ -Data.List.Fresh
Idris2Doc : Data.List.Fresh

Data.List.Fresh

Fresh lists, a variant of Catarina Coquand's contexts in "A -Formalised Proof of the Soundness and Completeness of a Simply -Typed Lambda-Calculus with Explicit Substitutions" + + + + + Data.List.Fresh + + + + + +

+ Idris2Doc : Data.List.Fresh + + + -Based directly on Agda's fresh lists: -http://agda.github.io/agda-stdlib/Data.List.Fresh.htmlFresh lists, a variant of Catarina Coquand's contexts in "A +
+

Data.List.Fresh

Fresh lists, a variant of Catarina Coquand's contexts in "A
 Formalised Proof of the Soundness and Completeness of a Simply
-Typed Lambda-Calculus with Explicit Substitutions"
+Typed Lambda-Calculus with Explicit Substitutions"
 
-Based directly on Agda's fresh lists:
-http://agda.github.io/agda-stdlib/Data.List.Fresh.html

(#) : a -> FreshListaneq -> Type
Totality: total
Fixity Declaration: infix operator, level 5
(##) : a -> FreshListaneq -> Bool
Totality: total
Fixity Declaration: infix operator, level 4
BRel : Type -> Type
Totality: total
Fresh : SnocLista -> Type
Totality: total
dataFreshList : (a : Type) -> BRela -> Type
Totality: total
Constructors:
Nil : FreshListaneq
(::) : (x : a) -> (xs : FreshListaneq) -> {auto 0 _ : x#xs} -> FreshListaneq
cast : (sx : SnocLista) -> {auto 0 _ : Freshsx} -> FreshListaneq
Totality: total
castAux : (sx : SnocLista) -> (xs : FreshListaneq) -> {auto 0 _ : FreshSnocsxxs} -> FreshListaneq
Totality: total
decideFreshness : (x : a) -> (ys : FreshListaneq) -> Dec (x#ys)
Totality: total
drop : Nat -> FreshListaneq -> FreshListaneq
Totality: total
dropWhile : (a -> Bool) -> FreshListaneq -> FreshListaneq
Totality: total
dropWhileFreshness : (pred : (a -> Bool)) -> (xs : FreshListaneq) -> y#xs -> y#dropWhilepredxs
Totality: total
filter : (a -> Bool) -> FreshListaneq -> FreshListaneq
Totality: total
filterFreshness : (pred : (a -> Bool)) -> (xs : FreshListaneq) -> y#xs -> y#filterpredxs
Totality: total
foldl : (b -> a -> b) -> b -> FreshListaneq -> b
Totality: total
foldr : (a -> b -> b) -> b -> FreshListaneq -> b
Totality: total
fromMaybe : Maybea -> FreshListaneq
Totality: total
head : (xs : FreshListaneq) -> NonEmptyxs => a
Totality: total
headFreshness : (0 x : a) -> (ys : FreshListaneq) -> {autoisNonEmpty : NonEmptyys} -> x#ys -> So (neqxheadys)
Totality: total
length : FreshListaneq -> Nat
Totality: total
map : {0 A : Type} -> {0 Aneq : BRelA} -> {0 B : Type} -> {0 Bneq : BRelB} -> (F : (A -> B)) -> ((x : A) -> (y : A) -> So (Aneqxy) -> So (Bneq (Fx) (Fy))) -> FreshListAAneq -> FreshListBBneq
Totality: total
mapFreshness : {0 A : Type} -> {0 Aneq : BRelA} -> {0 B : Type} -> {0 Bneq : BRelB} -> (F : (A -> B)) -> (Injectivity : ((x : A) -> (y : A) -> So (Aneqxy) -> So (Bneq (Fx) (Fy)))) -> (ys : FreshListAAneq) -> x#ys -> Fx#mapys
Totality: total
tail : (xs : FreshListaneq) -> NonEmptyxs => FreshListaneq
Totality: total
tailFreshness : (0 x : a) -> (ys : FreshListaneq) -> {autoisNonEmpty : NonEmptyys} -> x#ys -> x#tailys
Totality: total
take : Nat -> FreshListaneq -> FreshListaneq
Totality: total
takeFreshness : (n : Nat) -> (xs : FreshListaneq) -> y#xs -> y#takenxs
Totality: total
takeWhile : (a -> Bool) -> FreshListaneq -> FreshListaneq
Totality: total
takeWhileFreshness : (pred : (a -> Bool)) -> (xs : FreshListaneq) -> y#xs -> y#takeWhilepredxs
Totality: total
toFreshList1 : FreshListaneq -> Maybe (FreshList1aneq)
Totality: total
uncons : FreshListaneq -> Maybe (a, FreshListaneq)
Totality: total
Produced by Idris 2 version 0.4.0-c86184575
\ No newline at end of file +Based directly on Agda's fresh lists: +http://agda.github.io/agda-stdlib/Data.List.Fresh.html +

Reexports

importpublic Data.So

Definitions

BRel : Type->Type
Totality: total
Visibility: public export
(##) : a->FreshListaneq->Bool
Totality: total
Visibility: public export
Fixity Declaration: infix operator, level 4
(#) : a->FreshListaneq->Type
Totality: total
Visibility: public export
Fixity Declarations:
infix operator, level 4
infixr operator, level 5
dataFreshList : (a : Type) ->BRela->Type
Totality: total
Visibility: public export
Constructors:
Nil : FreshListaneq
(::) : (x : a) -> (xs : FreshListaneq) -> {auto0_ : x#xs} ->FreshListaneq
dataFreshList1 : (a : Type) ->BRela->Type
Totality: total
Visibility: public export
Constructor: 
(::) : (x : a) -> (xs : FreshListaneq) -> {auto0_ : x#xs} ->FreshList1aneq
map : {0A : Type} -> {0Aneq : BRelA} -> {0B : Type} -> {0Bneq : BRelB} -> (F : (A->B)) -> ((x : A) -> (y : A) ->So (Aneqxy) ->So (Bneq (Fx) (Fy))) ->FreshListAAneq->FreshListBBneq
Totality: total
Visibility: public export
0mapFreshness : {0A : Type} -> {0Aneq : BRelA} -> {0B : Type} -> {0Bneq : BRelB} -> (F : (A->B)) -> (Injectivity : ((x : A) -> (y : A) ->So (Aneqxy) ->So (Bneq (Fx) (Fy)))) -> (ys : FreshListAAneq) ->x#ys->Fx#mapys
Totality: total
Visibility: public export
dataEmpty : FreshListaneq->Type
Totality: total
Visibility: public export
Constructor: 
Nil : Empty []
dataNonEmpty : FreshListaneq->Type
Totality: total
Visibility: public export
Constructor: 
IsNonEmpty : NonEmpty (x::xs)
length : FreshListaneq->Nat
Totality: total
Visibility: public export
fromMaybe : Maybea->FreshListaneq
Totality: total
Visibility: public export
uncons : FreshListaneq->Maybe (a, FreshListaneq)
Totality: total
Visibility: public export
toFreshList1 : FreshListaneq->Maybe (FreshList1aneq)
Totality: total
Visibility: public export
head : (xs : FreshListaneq) ->NonEmptyxs=>a
Totality: total
Visibility: public export
tail : (xs : FreshListaneq) ->NonEmptyxs=>FreshListaneq
Totality: total
Visibility: public export
0.freshness : (xs : FreshListaneq) -> {autoisNonEmpty : NonEmptyxs} ->headxs#tailxs
Totality: total
Visibility: public export
0headFreshness : (0x : a) -> (ys : FreshListaneq) -> {autoisNonEmpty : NonEmptyys} ->x#ys->So (neqx (headys))
Totality: total
Visibility: public export
0tailFreshness : (0x : a) -> (ys : FreshListaneq) -> {autoisNonEmpty : NonEmptyys} ->x#ys->x#tailys
Totality: total
Visibility: public export
take : Nat->FreshListaneq->FreshListaneq
Totality: total
Visibility: public export
0takeFreshness : (n : Nat) -> (xs : FreshListaneq) ->y#xs->y#takenxs
Totality: total
Visibility: public export
drop : Nat->FreshListaneq->FreshListaneq
Totality: total
Visibility: public export
takeWhile : (a->Bool) ->FreshListaneq->FreshListaneq
Totality: total
Visibility: public export
0takeWhileFreshness : (pred : (a->Bool)) -> (xs : FreshListaneq) ->y#xs->y#takeWhilepredxs
Totality: total
Visibility: public export
dropWhile : (a->Bool) ->FreshListaneq->FreshListaneq
Totality: total
Visibility: public export
0dropWhileFreshness : (pred : (a->Bool)) -> (xs : FreshListaneq) ->y#xs->y#dropWhilepredxs
Totality: total
Visibility: public export
filter : (a->Bool) ->FreshListaneq->FreshListaneq
Totality: total
Visibility: public export
0filterFreshness : (pred : (a->Bool)) -> (xs : FreshListaneq) ->y#xs->y#filterpredxs
Totality: total
Visibility: public export
decideFreshness : (x : a) -> (ys : FreshListaneq) ->Dec (x#ys)
Totality: total
Visibility: public export
foldl : (b->a->b) ->b->FreshListaneq->b
Totality: total
Visibility: public export
foldr : (a->b->b) ->b->FreshListaneq->b
Totality: total
Visibility: public export
(##) : BRelString
Totality: total
Visibility: public export
Fixity Declaration: infix operator, level 4
FreshSnoc : SnocLista->FreshListaneq->Type
Totality: total
Visibility: public export
castAux : (sx : SnocLista) -> (xs : FreshListaneq) -> {auto0_ : FreshSnocsxxs} ->FreshListaneq
Totality: total
Visibility: public export
Fresh : SnocLista->Type
Totality: total
Visibility: public export
cast : (sx : SnocLista) -> {auto0_ : Freshsx} ->FreshListaneq
Totality: total
Visibility: public export
\ No newline at end of file diff --git a/docs/Data.Magma.html b/docs/Data.Magma.html index 26b8c56..bfd0c2e 100644 --- a/docs/Data.Magma.html +++ b/docs/Data.Magma.html @@ -1 +1,64 @@ -Data.Magma
Idris2Doc : Data.Magma

Data.Magma

recordRawMagma : Type
Totality: total
Constructor: 
MkRawMagma : (Carrier : Type) -> (Carrier -> Carrier -> Carrier) -> RawMagma

Projections:
Carrier : RawMagma -> Type
Product : (rec : RawMagma) -> Carrierrec -> Carrierrec -> Carrierrec
openMagma : (magma : RawMagma) -> Semigroup (magma.Carrier)
Totality: total
\ No newline at end of file + + + + + Data.Magma + + + + + +
+ Idris2Doc : Data.Magma + + + + +
+

Data.Magma

Definitions

recordRawMagma : Type
Totality: total
Visibility: public export
Constructor: 
MkRawMagma : (Carrier : Type) -> (Carrier->Carrier->Carrier) ->RawMagma

Projections:
.Carrier : RawMagma->Type
.Product : ({rec:0} : RawMagma) ->Carrier{rec:0}->Carrier{rec:0}->Carrier{rec:0}
.Carrier : RawMagma->Type
Totality: total
Visibility: public export
Carrier : RawMagma->Type
Totality: total
Visibility: public export
.Product : ({rec:0} : RawMagma) ->Carrier{rec:0}->Carrier{rec:0}->Carrier{rec:0}
Totality: total
Visibility: public export
Product : ({rec:0} : RawMagma) ->Carrier{rec:0}->Carrier{rec:0}->Carrier{rec:0}
Totality: total
Visibility: public export
rawMagma : Type->RawMagma
Totality: total
Visibility: public export
rawMagma : RawMagma
Totality: total
Visibility: public export
rawMagma : RawMagma
Totality: total
Visibility: public export
rawMagma : RawMagma->RawMagma
Totality: total
Visibility: public export
openMagma : (magma : RawMagma) ->Semigroup (magma.Carrier)
Totality: total
Visibility: public export
\ No newline at end of file diff --git a/docs/Data.Record.SmartConstructors.html b/docs/Data.Record.SmartConstructors.html index 095bc83..5228758 100644 --- a/docs/Data.Record.SmartConstructors.html +++ b/docs/Data.Record.SmartConstructors.html @@ -1,3 +1,67 @@ -Data.Record.SmartConstructors
Idris2Doc : Data.Record.SmartConstructors

Data.Record.SmartConstructors

Selectively ported from agdARGS's Data.Recrod.SmartConstructors + -Please port more if you want!

BasicRecord : (Type -> Type) -> Fields (constType) -> Type
A record where the notion of type for its fields is `Type` itself
Totality: total
mkBasicRecord : BasicRecordfflds -> BasicRecordfflds
This acts as a type annotation ensuring the list passed as an
argument is a basic record.
Totality: total
\ No newline at end of file + + + Data.Record.SmartConstructors + + + + + +
+ Idris2Doc : Data.Record.SmartConstructors + + + + +
+

Data.Record.SmartConstructors

Selectively ported from agdARGS's Data.Recrod.SmartConstructors
+
+Please port more if you want!
+

Definitions

recordCheckable : (Fielda->Type) ->Fieldsa->Type
Totality: total
Visibility: public export
Constructor: 
MkCheckable : Recordfflds->Checkablefflds

Projection: 
.mkCheckable : Checkablefflds->Recordfflds
.mkCheckable : Checkablefflds->Recordfflds
Totality: total
Visibility: public export
mkCheckable : Checkablefflds->Recordfflds
Totality: total
Visibility: public export
recordEntry : (a : (String->Type)) -> (Fielda->Type) ->Fieldsa->Type
Totality: total
Visibility: public export
Constructor: 
(::=) : (name : String) -> {auto0pos : IsYes (isFieldnameflds)} ->f (field (toWitnesspos)) ->Entryafflds

Projections:
.name : Entryafflds->String
0.pos : ({rec:0} : Entryafflds) ->IsYes (isField (name{rec:0}) flds)
.value : ({rec:0} : Entryafflds) ->f (field (toWitness (pos{rec:0})))
.name : Entryafflds->String
Totality: total
Visibility: public export
name : Entryafflds->String
Totality: total
Visibility: public export
0.pos : ({rec:0} : Entryafflds) ->IsYes (isField (name{rec:0}) flds)
Totality: total
Visibility: public export
0pos : ({rec:0} : Entryafflds) ->IsYes (isField (name{rec:0}) flds)
Totality: total
Visibility: public export
.value : ({rec:0} : Entryafflds) ->f (field (toWitness (pos{rec:0})))
Totality: total
Visibility: public export
value : ({rec:0} : Entryafflds) ->f (field (toWitness (pos{rec:0})))
Totality: total
Visibility: public export
Nil : Checkablef []
Totality: total
Visibility: public export
(::) : (entry : Entryafflds) ->Checkablef (remove (toWitness (entry.pos))) ->Checkablefflds
Totality: total
Visibility: public export
Fixity Declaration: infixr operator, level 7
recordInferrable : (Fielda->Type) ->Fieldsa->Type
Totality: total
Visibility: public export
Constructor: 
MkInferrable : Recordfflds->Inferrablefflds

Projection: 
.mkInferrable : Inferrablefflds->Recordfflds
.mkInferrable : Inferrablefflds->Recordfflds
Totality: total
Visibility: public export
mkInferrable : Inferrablefflds->Recordfflds
Totality: total
Visibility: public export
recordEntry : (a : (String->Type)) -> (Fielda->Type) ->Type
Totality: total
Visibility: public export
Constructor: 
(::=) : (name : String) ->f (name**type) ->Entryaf

Projections:
.name : Entryaf->String
.type : ({rec:0} : Entryaf) ->a (name{rec:0})
.value : ({rec:0} : Entryaf) ->f (name{rec:0}**type{rec:0})
.name : Entryaf->String
Totality: total
Visibility: public export
name : Entryaf->String
Totality: total
Visibility: public export
.type : ({rec:0} : Entryaf) ->a (name{rec:0})
Totality: total
Visibility: public export
type : ({rec:0} : Entryaf) ->a (name{rec:0})
Totality: total
Visibility: public export
.value : ({rec:0} : Entryaf) ->f (name{rec:0}**type{rec:0})
Totality: total
Visibility: public export
value : ({rec:0} : Entryaf) ->f (name{rec:0}**type{rec:0})
Totality: total
Visibility: public export
Nil : Inferrablef []
Totality: total
Visibility: public export
(::) : (entry : Entryaf) ->Inferrablefflds-> {auto0fresh : (entry.name**entry.type) #flds} ->Inferrablef ((entry.name**entry.type) ::flds)
Totality: total
Visibility: public export
Fixity Declaration: infixr operator, level 7
BasicRecord : (Type->Type) ->Fields (constType) ->Type
  A record where the notion of type for its fields is `Type` itself

Totality: total
Visibility: public export
mkBasicRecord : BasicRecordfflds->BasicRecordfflds
  This acts as a type annotation ensuring the list passed as an
argument is a basic record.

Totality: total
Visibility: public export
\ No newline at end of file diff --git a/docs/Data.Record.html b/docs/Data.Record.html index 252710b..e118350 100644 --- a/docs/Data.Record.html +++ b/docs/Data.Record.html @@ -1,3 +1,66 @@ -Data.Record
Idris2Doc : Data.Record

Data.Record

An ordered record is a record whose field names have to appear in -a fixed order, but must otherwise be distinct.An ordered record is a record whose field names have to appear in -a fixed order, but must otherwise be distinct.

ArgList : Type
Totality: total
Field : (String -> Type) -> Type
Totality: total
Fields : (String -> Type) -> Type
Totality: total
IsField : String -> Fieldsa -> Type
Totality: total
IsFieldIrrelevant : (p : IsFieldnmflds) -> (q : IsFieldnmflds) -> p = q
Totality: total
IsFieldStale : IsFieldnmflds -> fstnmv = nm -> (0 _ : nmv#flds) -> Void
Totality: total
PartialRecord : (Fielda -> Type) -> Fieldsa -> Type
Totality: total
recordRecord : {0 A : String -> Type} -> (0 _ : (FieldA -> Type)) -> (0 _ : FieldsA) -> Type
Totality: total
Constructor: 
MkRecord : {0 A : String -> Type} -> {0 F : FieldA -> Type} -> {0 Flds : FieldsA} -> AllFFlds -> RecordFFlds

Projection: 
content : {0 A : String -> Type} -> {0 F : FieldA -> Type} -> {0 Flds : FieldsA} -> RecordFFlds -> AllFFlds
TypeFields : Record (constType) flds -> Fields (constType)
Totality: total
field : Anypflds -> Fielda
Totality: total
foldl : (b -> a -> b) -> b -> Record (consta) flds -> b
Totality: total
isField : (fldName : String) -> (flds : Fieldsa) -> Dec (IsFieldfldNameflds)
Totality: total
isYesBecause : (d : Decp) -> p -> IsYesd
Totality: total
map : ((nm : String) -> anm -> bnm) -> Fieldsa -> Fieldsb
Totality: total
sequence : Applicativeg => Record (g.f) flds -> g (Recordfflds)
Totality: total
soNotToEq : So (notb) -> b = False
Totality: total
stringEq : x = y -> x==y = True
Totality: total
tabulate : (args : ArgList) -> ((arg : String) -> Any (\{arg:0} => arg = arg) args -> aarg) -> Fieldsa
Totality: total
tabulateFreshness : {0 a : String -> Type} -> (args : ArgList) -> (f : ((arg : String) -> Any (\{arg:0} => arg = arg) args -> aarg)) -> y#args -> MkDPairyu#tabulateargsf
Totality: total
traverse : Applicativem => ((x : Fielda) -> fx -> m (gx)) -> Recordfflds -> m (Recordgflds)
Totality: total
\ No newline at end of file + + + + + Data.Record + + + + + +
+ Idris2Doc : Data.Record + + + + +
+

Data.Record

An ordered record is a record whose field names have to appear in
+a fixed order, but must otherwise be distinct.
+

Reexports

importpublic Data.List.Fresh
importpublic Data.List.Fresh.Quantifiers
importpublic Decidable.Decidable.Extra1
importpublic Decidable.Equality

Definitions

ArgList : Type
Totality: total
Visibility: public export
Field : (String->Type) ->Type
Totality: total
Visibility: public export
Fields : (String->Type) ->Type
Totality: total
Visibility: public export
recordRecord : {0A : String->Type} -> (0_ : (FieldA->Type)) -> (0_ : FieldsA) ->Type
Totality: total
Visibility: public export
Constructor: 
MkRecord : {0A : String->Type} -> {0F : FieldA->Type} -> {0Flds : FieldsA} ->AllFFlds->RecordFFlds

Projection: 
.content : {0A : String->Type} -> {0F : FieldA->Type} -> {0Flds : FieldsA} ->RecordFFlds->AllFFlds
.content : {0A : String->Type} -> {0F : FieldA->Type} -> {0Flds : FieldsA} ->RecordFFlds->AllFFlds
Totality: total
Visibility: public export
content : {0A : String->Type} -> {0F : FieldA->Type} -> {0Flds : FieldsA} ->RecordFFlds->AllFFlds
Totality: total
Visibility: public export
map : ((x : Fielda) ->fx->gx) ->Recordfflds->Recordgflds
Totality: total
Visibility: public export
IsField : String->Fieldsa->Type
Totality: total
Visibility: public export
isYesBecause : (d : Decp) ->p->IsYesd
Totality: total
Visibility: public export
soNotToEq : So (notb) ->b=False
Totality: total
Visibility: public export
stringEq : x=y->x==y=True
Totality: total
Visibility: public export
IsFieldStale : IsFieldnmflds->fstnmv=nm-> (0_ : nmv#flds) ->Void
Totality: total
Visibility: public export
IsFieldIrrelevant : (p : IsFieldnmflds) -> (q : IsFieldnmflds) ->p=q
Totality: total
Visibility: public export
isField : (fldName : String) -> (flds : Fieldsa) ->Dec (IsFieldfldNameflds)
Totality: total
Visibility: public export
field : Anypflds->Fielda
Totality: total
Visibility: public export
.project : Recordfflds-> (name : String) -> {autopos : IsYes (isFieldnameflds)} ->f (field (toWitnesspos))
Totality: total
Visibility: public export
tabulate : (args : ArgList) -> ((arg : String) ->Any (\{arg:0}=>arg={arg:0}) args->aarg) ->Fieldsa
Totality: total
Visibility: public export
0tabulateFreshness : {0a : String->Type} -> (args : ArgList) -> (f : ((arg : String) ->Any (\{arg:0}=>arg={arg:0}) args->aarg)) ->y#args-> (y**u) #tabulateargsf
Totality: total
Visibility: public export
map : ((nm : String) ->anm->bnm) ->Fieldsa->Fieldsb
Totality: total
Visibility: public export
foldl : (b->a->b) ->b->Record (consta) flds->b
Totality: total
Visibility: public export
TypeFields : Record (constType) flds->Fields (constType)
Totality: total
Visibility: public export
PartialRecord : (Fielda->Type) ->Fieldsa->Type
Totality: total
Visibility: public export
traverse : Applicativem=> ((x : Fielda) ->fx->m (gx)) ->Recordfflds->m (Recordgflds)
Totality: total
Visibility: public export
sequence : Applicativeg=>Record (g.f) flds->g (Recordfflds)
Totality: total
Visibility: public export
\ No newline at end of file diff --git a/docs/Decidable.Decidable.Extra1.html b/docs/Decidable.Decidable.Extra1.html index aa71b64..e4d044e 100644 --- a/docs/Decidable.Decidable.Extra1.html +++ b/docs/Decidable.Decidable.Extra1.html @@ -1 +1,64 @@ -Decidable.Decidable.Extra1
Idris2Doc : Decidable.Decidable.Extra1

Decidable.Decidable.Extra1

toWitness : (0 _ : IsYesprf) -> a
\ No newline at end of file + + + + + Decidable.Decidable.Extra1 + + + + + +
+ Idris2Doc : Decidable.Decidable.Extra1 + + + + +
+

Decidable.Decidable.Extra1

Reexports

importpublic Decidable.Decidable

Definitions

toWitness : (0_ : IsYesprf) ->a
Visibility: public export
\ No newline at end of file diff --git a/index.html b/index.html index 6391baa..7101b1e 100644 --- a/index.html +++ b/index.html @@ -1 +1,64 @@ -collie
Idris2Doc : collie

Package collie - Namespaces

\ No newline at end of file + + + + + collie + + + + + +
+ Idris2Doc : collie + + + + +
+

Package collie - Namespaces

\ No newline at end of file