to build an example, go into its directory and type 'runghc Setup build'