| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Data.Registry.Internal.Dynamic
Description
Utility functions to work with Dynamic values
Synopsis
- applyFunction :: Function -> [Value] -> Either Text Value
- applyFunctionDyn :: Dynamic -> [Dynamic] -> Either Text Dynamic
- applyOneParam :: Dynamic -> Dynamic -> Either Text Dynamic
- collectInputTypes :: Function -> [SomeTypeRep]
- outputType :: SomeTypeRep -> SomeTypeRep
Documentation
Apply a function to a list of Dynamic values
Apply a Dynamic function to a list of Dynamic values
applyOneParam :: Dynamic -> Dynamic -> Either Text Dynamic #
Apply just one dynamic parameter to a dynamic function
collectInputTypes :: Function -> [SomeTypeRep] #
If Dynamic is a function collect all its input types
outputType :: SomeTypeRep -> SomeTypeRep #
If the input type is a function type return its output type