This is a simple Haskell implementation of the Observer pattern,
specified as a typeclass with one example instance (demonstrating
synchronous notifications).
It is based on Observable.hs by Bastiaan Heeren, originally from
http://www.cs.uu.nl/wiki/bin/view/Afp0607/ExerciseWXHaskell