1{-# LANGUAGE AllowAmbiguousTypes #-}
3module Data.Schematic.Utils where
7import Data.Singletons.Prelude
8import Data.Singletons.TypeLits
9import Data.Vinyl hiding (Dict)
15instance Known (Proxy a) where
18instance KnownNat n => Known (Sing n) where
21instance KnownSymbol s => Known (Sing s) where
24instance (Known (Sing a), Known (Sing b)) => Known (Sing '(a,b)) where
25 known = STuple2 known known
27instance Known (Sing '[]) where known = SNil
29instance (Known (Sing a), Known (Sing as)) => Known (Sing (a ': as)) where
30 known = SCons known known
32instance Known (Rec Sing '[]) where
35instance (Known (Sing a), Known (Rec Sing tl)) => Known (Rec Sing (a ': tl)) where
36 known = known :& known
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