Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
This module returns creation data about the values created when created a value of a given type
Synopsis
- module Data.Registry.Internal.Statistics
- makeStatistics :: forall a ins out. Typeable a => Registry ins out -> Statistics
- makeStatisticsEither :: forall a ins out. Typeable a => Registry ins out -> Either Text Statistics
Documentation
makeStatistics :: 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)
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