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