language: en

Structuring Graphical Paradigms in TkGofer

Koen Claessen
OGI and Utrecht University
koen@cse.ogi.edu
Ton Vullinghs
Universitat Ulm
ton@informatik.uni-ulm.de
Erik Meijer
OGI and Utrecht University
erik@cse.ogi.edu

Abstract In this paper we describe the implementation of several graphical programming paradigms (Model View Controller, Fudgets, and Functional Animations) using the GUI library TkGofer. This library relies on a combination of monads and multiple-parameter type classes to provide an abstract, type safe interface to Tcl/Tk. We show how choosing the right abstractions makes the given implementations surprisingly concise and easy to understand.

1 Introduction