module Simulation.Aivika.GPSS.Block.Priority
(priorityBlock) where
import Simulation.Aivika
import Simulation.Aivika.GPSS.Block
import Simulation.Aivika.GPSS.Transact
priorityBlock :: Int
-> Block (Transact a) (Transact a)
priorityBlock :: forall a. Int -> Block (Transact a) (Transact a)
priorityBlock Int
priority =
Block { blockProcess :: Transact a -> Process (Transact a)
blockProcess = \Transact a
a -> forall a. Transact a -> Int -> Process (Transact a)
assignTransactPriority Transact a
a Int
priority }