A candidate morphism from nets over one operation and token type to nets over another.
Constructors
MkNetMorphismmorphAnswered :: Answered op ans -> Answered op' ans'morphToken :: tok -> Marking tok'
:: a typeCtrl KGHC 9.14.1 · lts/ghc-9.14.x · b2f3bfd · 2026-10-11
Modulevortex-journal-0.1.0GHC2024
Migration along a morphism of nets. A morphism sends each answered operation of the source to one of the target and each token to a marking of the target; it is a morphism when the target's initial marking, pre and post are the images of the source's. A log migrates by sending each entry along it, and then folding the migrated log in the target is sending the source fold along it: the fold is a functor.
A candidate morphism from nets over one operation and token type to nets over another.
MkNetMorphismmorphAnswered :: Answered op ans -> Answered op' ans'morphToken :: tok -> Marking tok'A marking sent along the morphism.
A log sent along the morphism, entry by entry (a resumed log's base marking too).
Why a candidate is not a morphism.
InitialNotPreservedPreNotPreserved (Answered op ans)PostNotPreserved (Answered op ans)(Eq op, Eq ans) => Eq (MorphismError op ans)Defined in vortex-journal-0.1.0 · Vortex.Journal.Migrate(Show op, Show ans) => Show (MorphismError op ans)Defined in vortex-journal-0.1.0 · Vortex.Journal.MigrateCheck a candidate against the source's operations, as listed: the target's initial marking must be the source's sent along it, and so must every operation's pre and post.