Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Merging multiple Ema sites into one.
This is implemented in using `sop-core`'s NS and NP types. Use as `MultiRoute '[MySite1, MySite2, ...]`.
Synopsis
- type MultiRoute (rs :: [Type]) = NS I rs
- type family MultiModel (rs :: [Type]) :: [Type] where ...
Documentation
type MultiRoute (rs :: [Type]) = NS I rs Source #
The merged site's route is represented as a n-ary sum (NS
) of the
sub-routes.
type family MultiModel (rs :: [Type]) :: [Type] where ... Source #
MultiModel '[] = '[] | |
MultiModel (r ': rs) = RouteModel r ': MultiModel rs |