uni-uDrawGraph-2.2.1.4: Graphs binding

Safe HaskellNone
LanguageHaskell98

UDrawGraph.Basic

Description

DaVinciBasic contains the code to do the following things: (1) get daVinci going (it calls it via a ChildProcess). (2) open new contexts. (3) pass on events and sort answers out for particular contexts. It uses the DaVinciTypes module to parse the different results, but makes minimal attempts to interpret the different datatypes (the main reason for doing so is to interpret DaVinciAnswer to work out what to do with a particular answer).

Documentation

data Context Source #

Instances
Eq Context Source # 
Instance details

Defined in UDrawGraph.Basic

Methods

(==) :: Context -> Context -> Bool #

(/=) :: Context -> Context -> Bool #

Ord Context Source # 
Instance details

Defined in UDrawGraph.Basic

Destroyable Context Source # 
Instance details

Defined in UDrawGraph.Basic

Methods

destroy :: Context -> IO () #

Destructible Context Source # 
Instance details

Defined in UDrawGraph.Basic

Methods

destroyed :: Context -> Event () #

withHandler :: (DaVinciAnswer -> IO ()) -> Context -> IO a -> IO a Source #