lambda-ccc
lambda-ccc copied to clipboard
Handle newtype
For casts (e.g., from newtype), how can I recognize which is the encode and which the decode, or is there a way I don't have to? Is there something about the type? Try isNewTyCon :: TyCon -> Bool in TyCon.