module Simulation.Aivika.GPSS.Block.Transfer
(transferBlock) where
import Simulation.Aivika
import Simulation.Aivika.GPSS.Block
transferBlock :: Block a ()
-> Block a b
transferBlock :: Block a () -> Block a b
transferBlock Block a ()
x =
Block :: forall a b. (a -> Process b) -> Block a b
Block { blockProcess :: a -> Process b
blockProcess = \a
a -> Process () -> Process b
forall a. Process () -> Process a
transferProcess (Block a () -> a -> Process ()
forall a b. Block a b -> a -> Process b
blockProcess Block a ()
x a
a) }