minilight-0.4.0: A SDL2-based graphics library, batteries-included.

Safe HaskellNone
LanguageHaskell2010

MiniLight.Event

Synopsis

Documentation

data Event Source #

Event type representation

class Typeable e => EventType e where Source #

EventType says some type can be used as an event type.

Minimal complete definition

Nothing

signal :: EventType a => Text -> a -> Event Source #