aivika-transformers-4.5.1: Transformers for the Aivika simulation library

CopyrightCopyright (c) 2009-2016 David Sorokin <david.sorokin@gmail.com>
LicenseBSD3
MaintainerDavid Sorokin <david.sorokin@gmail.com>
Stabilityexperimental
Safe HaskellNone
LanguageHaskell2010

Simulation.Aivika.IO.Event

Contents

Description

Tested with: GHC 8.0.1

The module defines a template-based event queue, where the MonadIO-based monad can be an instance of EventQueueing and EventIOQueueing.

Orphan instances

(Monad m, MonadIO m, MonadEventQueueTemplate m) => EventQueueing m Source #

A template-based implementation of the EventQueueing type class.

Associated Types

data EventQueue (m :: * -> *) :: * Source #

(Monad m, MonadIO m, MonadEventQueueTemplate m, MonadDES m) => EventIOQueueing m Source #

A template-based implementation of the EventIOQueueing type class.

Methods

enqueueEventIO :: Double -> Event m () -> Event m () Source #