Servant API の変遷
HasServer
のroute関数の変遷
class HasServer layout where type ServerT layout (m :: * -> *) :: * route :: *********
version | implementation |
---|---|
0.2.1–0.4.0 | route :: Proxy layout -> Server layout -> RoutingApplication |
0.5–0.6 | route :: Proxy layout -> Context context -> Delayed (Server layout) -> Router |
0.7–0.10 | route :: Proxy api -> Context context -> Delayed env (Server api) -> Router env |