binding-core-0.2.2: Data Binding

Safe HaskellSafe-Inferred

Data.Binding.Simple

Synopsis

Documentation

class Variable b => Bindable b whereSource

Sources for data binding.

Methods

bindSource

Arguments

:: b a

the binding source

-> (a -> d)

a function that extracts data from the source

-> t

the binding target

-> (t -> d -> IO ())

a function that applies data to the target

-> IO () 

Create a data binding

Instances

data Source v a Source

Binding Source

Instances