Idris2Doc : Data.Record.SmartConstructors

Data.Record.SmartConstructors

(source)
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