Safe Haskell | None |
---|---|
Language | Haskell2010 |
Roboservant.Types.Internal
Synopsis
- data Provenance = Provenance SomeTypeRep Int
- data StashValue a = StashValue {
- getStashValue :: NonEmpty ([Provenance], a)
- stashHash :: IntSet
- newtype Stash = Stash {}
- newtype Atom x = Atom {
- unAtom :: x
- newtype Compound x = Compound {
- unCompound :: x
- hashedDyn :: (Hashable a, Typeable a) => a -> (Dynamic, Int)
Documentation
data Provenance Source #
Constructors
Provenance SomeTypeRep Int |
Instances
data StashValue a Source #
Constructors
StashValue | |
Fields
|
Instances
Functor StashValue Source # | |
Defined in Roboservant.Types.Internal Methods fmap :: (a -> b) -> StashValue a -> StashValue b # (<$) :: a -> StashValue b -> StashValue a # | |
Show a => Show (StashValue a) Source # | |
Defined in Roboservant.Types.Internal Methods showsPrec :: Int -> StashValue a -> ShowS # show :: StashValue a -> String # showList :: [StashValue a] -> ShowS # |
Can't be built up from parts, can't be broken down further.
Instances
can be broken down and built up from generic pieces
Constructors
Compound | |
Fields
|
Instances
Eq x => Eq (Compound x) Source # | |
Hashable x => Hashable (Compound x) Source # | |
Defined in Roboservant.Types.Internal | |
(Hashable x, Typeable x, Generic x, GBreakdown (Rep x)) => Breakdown (Compound x) Source # | |
Defined in Roboservant.Types.Breakdown | |
(Hashable x, Typeable x, Generic x, GBuildFrom (Rep x)) => BuildFrom (Compound x) Source # | |
Defined in Roboservant.Types.BuildFrom |