Fix Issue1252: generate correct Haskell for functions with multiple clauses that are the subject of a COMPILE_EXPORT pragme
Fix COMPILE_EXPORT to deal with functions that are exported AND used.