1module Decidable.Decidable
7--------------------------------------------------------------------------------
8-- Typeclass for decidable n-ary Relations
9--------------------------------------------------------------------------------
11-- Note: Instance resolution for Decidable is likely to not work in the REPL
13class Decidable (ts : Vect k Type) (p : Rel ts) where
14 total decide : liftRel ts p Dec
16-- 'No such variable {k506}'
17--decision : Decidable ts p => (ts : Vect k Type) -> (p : Rel ts) -> liftRel ts p Dec
18--decision ts p = decide {ts} {p}
20using (P : Type, p : P)
21 data Given : Dec P -> Type where
22 always : Given (Yes p)
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list