keera-hails-mvc-model-protectedmodel-0.7.0: Rapid Gtk Application Development - Protected Reactive Models

Safe HaskellSafe
LanguageHaskell2010

Hails.MVC.Model.THAccessors

Description

This module uses Template Haskell to declare getters and setters for a given field and type that access the ProtectedModel in the IO Monad and the reactive model.

Copyright : (C) Keera Studios Ltd, 2013 License : BSD3 Maintainer : support@keera.co.uk

Synopsis

Documentation

reactiveModelAccessors :: String -> String -> Q [Dec] Source #

Creates a setter and a getter that works at ReactiveModel level.

nonReactiveModelAccessors :: String -> Q Type -> Q [Dec] Source #

Creates a setter and a getter that works at ReactiveModel level.