linnet-0.2.0.0: src/Linnet/NaturalTransformation.hs
{-# LANGUAGE MultiParamTypeClasses #-}
module Linnet.NaturalTransformation where
-- | Type class that defines transformation F a -> G a used by Linnet to convert custom monads to WAI IO
class NaturalTransformation f g where
mapK :: f a -> g a
instance NaturalTransformation IO IO where
mapK = id