lambda-ccc icon indicating copy to clipboard operation
lambda-ccc copied to clipboard

Handle newtype

Open conal opened this issue 11 years ago • 0 comments

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.

conal avatar Apr 18 '14 20:04 conal