1module Decidable.Decidable
8--------------------------------------------------------------------------------
9-- Typeclass for decidable n-ary Relations
10--------------------------------------------------------------------------------
12-- Note: Instance resolution for Decidable is likely to not work in the REPL
14class Decidable (ts : Vect k Type) (p : Rel ts) where
15 total decide : liftRel ts p Dec
17-- 'No such variable {k506}'
18--decision : Decidable ts p => (ts : Vect k Type) -> (p : Rel ts) -> liftRel ts p Dec
19--decision ts p = decide {ts} {p}
21using (a : Type, x : a)
22 data Given : Dec a -> Type where
23 Always : Given (Yes x)
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