1module Obelisk.Route.TH (deriveRouteComponent) where
3import Data.Constraint.Extras.TH
4import Data.GADT.Show.TH
5import Data.GADT.Compare.TH
6import Data.Universe.Some.TH
7import Language.Haskell.TH
9-- | Derive all the typeclasses needed for a RouteComponent type. The argument should be the name of a type of kind @k -> *@
10deriveRouteComponent :: Name -> Q [Dec]
11deriveRouteComponent x = concat <$> traverse ($ 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