Idris2Doc : Data.SOP.Utils

Data.SOP.Utils

(source)

Definitions

I : Type->Type
  Type-level identity function.

Totality: total
Visibility: public export
K : Type->k->Type
  Type-level constant function.

Totality: total
Visibility: public export
dataSingletonList : Lista->Type
  Witness that a list is actually a singleton list.

Totality: total
Visibility: public export
Constructor: 
IsSingletonList : (v : a) ->SingletonList [v]

Hints:
Uninhabited (SingletonList [])
Uninhabited (SingletonList (a:: (b::t)))
singletonList : (vs : Lista) ->Dec (SingletonListvs)
  Covering function for singleton lists.

Totality: total
Visibility: public export
dataUpdateOnce : k->k->Listk->Listk->Type
  View for updating a single occurence of a value
in a list

Totality: total
Visibility: public export
Constructors:
UpdateHere : UpdateOncett' (t::ks) (t'::ks)
UpdateThere : UpdateOncett'ksks'->UpdateOncett' (k::ks) (k::ks')
dataUpdateMany : k->k->Listk->Listk->Type
  View for updating several occurences of a value
in a list

Totality: total
Visibility: public export
Constructors:
UMNil : UpdateManytt' [] []
UMConsSame : UpdateManytt'ksks'->UpdateManytt' (t::ks) (t'::ks')
UMConsDiff : UpdateManytt'ksks'->UpdateManytt' (k::ks) (k::ks')
dataSublist : Listk->Listk->Type
  View of the second List containing all values (in the same order)
of the first List interleaved with arbitrary additional values.

Totality: total
Visibility: public export
Constructors:
SLNil : Sublist [] ks'
SLSame : Sublistksks'->Sublist (k::ks) (k::ks')
SLDiff : Sublistksks'->Sublistks (k::ks')
dataEnumType : List (Listk) ->Type
  Witness that a list of list of types (representing the
constructors and fields of an ADT) represents an enum type, i.e.
that all constructors are nullary.

Totality: total
Visibility: public export
Constructors:
EZ : EnumType []
ES : EnumTypekss->EnumType ([] ::kss)
0enumTail : EnumType (ks::kss) ->EnumTypekss
  If `ks :: kss` is an enum type, then so is `kss`

Totality: total
Visibility: public export
dispStringList : ListString->String
Totality: total
Visibility: export