Implement a smart constructor mkUnsafeCoercion, and use it
This just ensures that an unsafe coercion is as localised as possible. For example, instead of UnsafeCo (Int -> t1) (Int -> t2) use Int -> UnsafeCo t1 t2
Showing
Please register or sign in to comment