TypeCache typo and module exposure

This commit is contained in:
Greg Weber 2014-09-20 20:57:27 -07:00
parent 00b5781ec5
commit f18d0a8bac
3 changed files with 3 additions and 3 deletions

View File

@ -855,7 +855,7 @@ getMessageRender = do
-- | Use a per-request cache to avoid performing the same action multiple times.
-- Values are stored by their type, the result of typeOf from Typeable.
-- Therefore, you should use differnt newtype wrappers at each cache site.
-- Therefore, you should use different newtype wrappers at each cache site.
--
-- For example, yesod-auth uses an un-exported newtype, CachedMaybeAuth and exports functions that utilize it such as maybeAuth.
-- This means that another module can create its own newtype wrapper to cache the same type from a different action without any cache conflicts.

View File

@ -19,7 +19,7 @@ type KeyedTypeMap = HashMap (TypeRep, ByteString) Dynamic
-- | avoid performing the same action multiple times.
-- Values are stored by their type, the result of typeOf from Typeable.
-- Therefore, you should use differnt newtype wrappers at each cache site.
-- Therefore, you should use different newtype wrappers at each cache site.
--
-- For example, yesod-auth uses an un-exported newtype, CachedMaybeAuth and exports functions that utilize it such as maybeAuth.
-- This means that another module can create its own newtype wrapper to cache the same type from a different action without any cache conflicts.

View File

@ -74,7 +74,6 @@ library
Yesod.Core.Widget
Yesod.Core.Internal
Yesod.Core.Types
Yesod.Core.TypeCache
other-modules: Yesod.Core.Internal.Session
Yesod.Core.Internal.Request
Yesod.Core.Class.Handler
@ -86,6 +85,7 @@ library
Yesod.Core.Class.Yesod
Yesod.Core.Class.Dispatch
Yesod.Core.Class.Breadcrumbs
Yesod.Core.TypeCache
Paths_yesod_core
Yesod.Routes.TH