Portability | portable |
---|---|
Stability | experimental |
Maintainer | pxqr.sta@gmail.com |
Safe Haskell | None |
- class KMessage message scheme | message -> scheme where
- data KQueryScheme = KQueryScheme {}
- methodQueryScheme :: Method a b -> KQueryScheme
- newtype KResponseScheme = KResponseScheme {}
- methodRespScheme :: Method a b -> KResponseScheme
Documentation
class KMessage message scheme | message -> scheme whereSource
Used to validate any message by its scheme
forall m. m validate
scheme m
data KQueryScheme Source
methodQueryScheme :: Method a b -> KQuerySchemeSource
newtype KResponseScheme Source
methodRespScheme :: Method a b -> KResponseSchemeSource