registry-0.6.0.0: data structure for assembling components
Safe HaskellSafe-Inferred
LanguageGHC2021

Data.Registry.Statistics

Description

This module returns creation data about the values created when created a value of a given type

Synopsis

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