name: eventloop -- The package version. See the Haskell package versioning policy (PVP) -- for standards guiding when and how versions should be incremented. -- http://www.haskell.org/haskellwiki/Package_versioning_policy -- PVP summary: +-+------- breaking API changes -- | | +----- non-breaking API additions -- | | | +--- code changes with no API change version: 0.8.2.8 synopsis: A different take on an IO system. Based on Amanda's IO loop, this eventloop takes a function that maps input events to output events. It can easily be extended by modules that represent IO devices or join multiple modules together. description: A different take on an IO system. Based on Amanda's IO loop, this eventloop takes a function that maps input events to output events. It can easily be extended by modules that represent IO devices or join multiple modules together. Each module exists of a initialize and teardown function that are both called once at startup and shutting down. During run-time, a module can provice a preprocessor function (which transforms input events before they get to the eventloop), and a postprocessor function (which transforms output events after they are received from the eventloop but before they are send off). Next to these bookkeeping functions, a module can exist of a (check for events and an event retrieve) function pair which result in input events and an addition to the event sender function which handles output events. This results in the following states: |Start|: initialize -> |Run-Time| -> teardown |Run-Time|: eventCheckers - Yes > preprocessors -> eventloop -> postprocessors -> event sender -> |Run-Time| |- No > |Run-Time| Each module has a piece of "memory"/state which is defined by the module itself and all of the module states are combined in the IO state. When writing/installing a module, modifications has to be made at certain points in the code due to the poor modularity of Haskell. homepage: - license: BSD3 license-file: LICENSE author: Sebastiaan la Fleur maintainer: sebastiaan@slafleur.nl copyright: University of Twente 2015 | Sebastiaan la Fleur 2015 category: Eventloop build-type: Simple -- extra-source-files: cabal-version: >=1.10 library exposed-modules: Eventloop.Core, Eventloop.DefaultConfiguration, Eventloop.Module.Websocket.Canvas, Eventloop.Module.Websocket.Keyboard, Eventloop.Module.Websocket.Mouse, Eventloop.Module.DrawTrees, Eventloop.Module.BasicShapes, Eventloop.Module.File, Eventloop.Module.StatefulGraphics, Eventloop.Module.StdIn, Eventloop.Module.StdOut, Eventloop.Module.Timer, Eventloop.Module.Graphs, Eventloop.Types.Common, Eventloop.Types.Events, Eventloop.Types.System, Eventloop.Utility.Vectors, Eventloop.Utility.Trees.GeneralTree -- Modules included in this library but not exported. other-modules: Eventloop.OutRouter, Eventloop.Module.Websocket.Canvas.Canvas, Eventloop.Module.Websocket.Canvas.JSONEncoding, Eventloop.Module.Websocket.Canvas.Opcode, Eventloop.Module.Websocket.Canvas.Types, Eventloop.Module.Websocket.Keyboard.Keyboard, Eventloop.Module.Websocket.Keyboard.Types, Eventloop.Module.Websocket.Mouse.Mouse, Eventloop.Module.Websocket.Mouse.Types, Eventloop.Module.DrawTrees.DrawTrees, Eventloop.Module.DrawTrees.Types, Eventloop.Module.DrawTrees.RoseTreeGeneric, Eventloop.Module.BasicShapes.BasicShapes, Eventloop.Module.BasicShapes.Types, Eventloop.Module.BasicShapes.Classes, Eventloop.Module.BasicShapes.MeasureTextHack, Eventloop.Module.File.File, Eventloop.Module.File.Types, Eventloop.Module.StatefulGraphics.StatefulGraphics, Eventloop.Module.StatefulGraphics.Types, Eventloop.Module.StdIn.StdIn, Eventloop.Module.StdIn.Types, Eventloop.Module.StdOut.StdOut, Eventloop.Module.StdOut.Types, Eventloop.Module.Timer.Timer, Eventloop.Module.Timer.Types, Eventloop.Module.Graphs.Graphs, Eventloop.Module.Graphs.Types, Eventloop.System.DisplayExceptionThread, Eventloop.System.EventloopThread, Eventloop.System.InitializationThread, Eventloop.System.OutRouterThread, Eventloop.System.Processing, Eventloop.System.RetrieverThread, Eventloop.System.SenderThread, Eventloop.System.Setup, Eventloop.System.TeardownThread, Eventloop.Types.Exception, Eventloop.Utility.Websockets, Eventloop.Utility.Config, Eventloop.Utility.Trees.LayoutTree other-extensions: OverloadedStrings build-depends: base >=4.8 && <4.13, network >=2.6 && <2.9, text >=1.2 && <1.3, websockets >=0.9 && <0.13, aeson >=0.8 && <1.5, timers >=0.2 && <0.3, suspend >=0.2 && <0.3, bytestring >=0.10 && <0.11, concurrent-utilities >=0.2 && <0.3, stm >=2.4 && <2.6, deepseq >=1.4 && <1.5 -- Directories containing source files. hs-source-dirs: src -- Base language which the package is written in. default-language: Haskell2010