Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- module Data.Registry.Internal.Statistics
- makeStatistics :: forall a ins out. (Typeable a, Contains a out, Solvable ins out) => Registry ins out -> Statistics
- makeStatisticsFast :: forall a ins out. (Typeable a, Contains a out) => Registry ins out -> Statistics
- makeStatisticsEither :: forall a ins out. Typeable a => Registry ins out -> Either Text Statistics
- makeStatisticsUnsafe :: forall a ins out. Typeable a => Registry ins out -> Statistics
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)