category-extras-0.44.1: src/Control/Comonad/Reader/Class.hs
{-# OPTIONS -fglasgow-exts #-}
-----------------------------------------------------------------------------
-- |
-- Module : Control.Comonad.Reader.Class
-- Copyright : (C) 2008 Edward Kmett
-- License : BSD-style (see the file LICENSE)
--
-- Maintainer : Edward Kmett <ekmett@gmail.com>
-- Stability : experimental
-- Portability : portable
--
----------------------------------------------------------------------------
module Control.Comonad.Reader.Class where
import Control.Comonad
class Comonad w => ComonadReader r w | w -> r where
askC :: w a -> r