moved the exporting part into the parser (this is still a hack); re-added CoreHaskell again to the examples - there seems to be a problem with the variable name pat
no_document use_thys ["../Nominal-General/Nominal2_Base",
"../Nominal-General/Nominal2_Atoms",
"../Nominal-General/Nominal2_Eqvt",
"../Nominal-General/Nominal2_Supp",
"../Nominal-General/Atoms",
"LaTeXsugar"];
use_thys ["Paper"];