1{-# language DataKinds #-}
2{-# language StandaloneKindSignatures #-}
3{-# language TypeFamilies #-}
4{-# language TypeOperators #-}
12import Data.Kind ( Type )
14 ( (:+:), (:*:), K1, M1, U1, V1
19import Rel8.FCF ( Eval, Exp )
22type GMap :: (Type -> Exp Type) -> (Type -> Type) -> Type -> Type
23type family GMap f rep where
24 GMap f (M1 i c rep) = M1 i c (GMap f rep)
26 GMap f (rep1 :+: rep2) = GMap f rep1 :+: GMap f rep2
28 GMap f (rep1 :*: rep2) = GMap f rep1 :*: GMap f rep2
29 GMap f (K1 i a) = K1 i (Eval (f a))
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