registry-0.1.6.2: data structure for assembling components

Safe HaskellNone
LanguageHaskell2010

Data.Registry.Statistics

Synopsis

Documentation

makeStatistics :: forall a ins out. (Typeable a, Contains a out, Solvable ins out) => Registry ins out -> Statistics Source #

makeStatisticsFast :: forall a ins out. (Typeable a, Contains a out) => Registry ins out -> Statistics Source #

makeStatisticsEither :: forall a ins out. Typeable a => Registry ins out -> Either Text Statistics Source #

Return Statistics as the result of the creation of a value of a given type

makeStatisticsUnsafe :: forall a ins out. Typeable a => Registry ins out -> Statistics Source #

Return Statistics as the result of the creation of a value of a given type (and throws an exception if the value cannot be created)