1{-# LANGUAGE PolyKinds #-}
2{-# LANGUAGE TypeOperators #-}
3module Servant.API.Sub where
5import Data.Proxy ( Proxy )
7-- | The contained API (second argument) can be found under @("/" ++ path)@
8-- (path being the first argument).
12-- > -- GET /hello/world
13-- > -- returning a JSON encoded World value
14-- > type MyApi = "hello" :> "world" :> Get World
15data (path :: k) :> a = Proxy path :> 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