
3 Jun
2007
3 Jun
'07
5:58 p.m.
Hi
You could also use 'compositional functional references'. These are introduced in the paper "A Functional Programming Technique for Forms in Graphical User Interfaces" by Sander Evers, Peter Achten and Jan Kuper.
I've written a template haskell function to derive Refs from a data > structure definition (with record syntax): given
I've implemented this in Derive[1] in 12 minutes, counting the time required to re-familiarize with the code. The patch is at [2] and has also been darcs sent.
It's been applied, and is now in the main repo. Thanks Neil