linnet-0.4.0.1: Lightweight library for building HTTP API

Safe HaskellSafe
LanguageHaskell2010

Linnet.NaturalTransformation

Synopsis

Documentation

class NaturalTransformation f g where Source #

Type class that defines transformation F a -> G a used by Linnet to convert custom monads to WAI IO

Methods

mapK :: f a -> g a Source #

Instances
NaturalTransformation IO IO Source # 
Instance details

Defined in Linnet.NaturalTransformation

Methods

mapK :: IO a -> IO a Source #