tweak haddock wording for Raw m a

This commit is contained in:
Greg Hale 2015-11-23 16:59:22 -05:00
parent b17f2dd0e8
commit 8838f98960

View file

@ -30,7 +30,10 @@ import Control.Applicative (liftA2)
-- this can also be used with 'Servant.Utils.StaticFiles.serveDirectory' to serve
-- static files stored in a particular directory on your filesystem
--
-- The phantom type (@m@) is used internally, and can generally be ignored.
-- The phantom type (@m@) is used to describe which monad your web handlers run
-- in: IO for wai (the default server provided in servant-server), or another
-- monad specific to your handler or application (e.g. @AppHandler@ in @Snap@).
-- Non-server Servant interpretations generally don't look at (@m@).
newtype Raw (m :: * -> *) a = Raw {
unRaw :: a
} deriving (Eq, Read, Show, Ord, Typeable, Ix, Bounded, Data, Generic, Generic1)