Idris2Doc : Data.Subset

Data.Subset

(source)

Definitions

dataHas : a->Lista->Type
  Proof that a value is present in a list. This is
isomorphic to `Data.List.Elem` but with (in my opinion)
more fitting names for our use case.

Totality: total
Visibility: public export
Constructors:
Z : Hasv (v::vs)
S : Hasvvs->Hasv (w::vs)

Hints:
Hasffs=>Cast (ft) (Efffst)
HasIOfs=>HasIO (Free (Unionfs))
Uninhabited (Hasv [])
0lemma_has_single : Hasf [x] ->x=f
Totality: total
Visibility: export
drop : (ts : Lista) ->Hasvts->Lista
Totality: total
Visibility: public export
negate : Negty=>ty->ty
  The underlying of unary minus. `-5` desugars to `negate (fromInteger 5)`.

Totality: total
Visibility: public export
Fixity Declaration: prefix operator, level 10
(-) : (ts : Lista) -> (v : a) ->Hasvts=>Lista
  Removes an element from a list. This is used to
calculate the list of effects after a single effect
was properly handled.

Totality: total
Visibility: public export
Fixity Declarations:
infixl operator, level 8
prefix operator, level 10
dataSubset : Lista->Lista->Type
  Proof that one set is subset of another set.
Sets are represented by `List`. There is no gaurantee for no duplicate in list though.

Totality: total
Visibility: public export
Constructors:
Nil : Subset [] ys
(::) : Hasxys->Subsetxsys->Subset (x::xs) ys

Hint: 
Subsetfsfs'=>Cast (Efffsa) (Efffs'a)
lemma_subset : Subsetfsfs'->Hasffs->Hasffs'
Totality: total
Visibility: public export