Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactoring the handling of data types in LFConversion.hs (#3251)
* Add some type signatures to make MonoLocalBinds happy * Extract applyDataCon function * rename applyDataCon * Refactor convertDataCon * ß reduction * Delint * Refactor convertTypeDef * Rewrite convertTemplateInstanceDef * pass sanitization function to convertRecordFields * Extract out the newtype worker definition * Move mkWorkerName to UtilLF * Simplify getTag conversion * Simplify tagToEnum# conversion * Eliminate Ctors and toCtors * Reviewer comments
- Loading branch information