type-cache-1.0: Utilities for caching type families results. Sometimes complex type families take long time to compile, so it is proficient to cache them and use the final result without the need of re-computation.

Safe HaskellNone
LanguageHaskell2010

Type.Cache.TH

Documentation

assertTypesEq :: (Monad m, Typeable * a, Typeable * a1) => a -> a1 -> m [t] Source

appsT :: Foldable t => Type -> t Type -> Type Source

class HasName a where Source

Methods

name :: Lens' a Name Source

fromMaybe :: t -> Maybe t -> t Source

maybeToList :: Maybe [t] -> [t] Source