snaplet-rest-0.1.0: src/Snap/Snaplet/Rest/Proxy.hs
------------------------------------------------------------------------------
-- | Defines a simple proxy type for complicated type classes.
module Snap.Snaplet.Rest.Proxy
( Proxy (..)
) where
------------------------------------------------------------------------------
-- | Uses a phantom type to indicate to the type system which class instance
-- to use when it may be ambiguous.
data Proxy t = Proxy