diff options
| author | simonpj@microsoft.com <unknown> | 2010-03-01 11:17:44 +0000 |
|---|---|---|
| committer | simonpj@microsoft.com <unknown> | 2010-03-01 11:17:44 +0000 |
| commit | 51ab3ed19f55e386c4e55efd2cd6705789f8fbf4 (patch) | |
| tree | 99ce407d5c00733d37841958f8964557edde2338 /compiler/utils | |
| parent | 88e7faf19b7bcfd8d0d41fa88029c048b615c432 (diff) | |
| download | haskell-51ab3ed19f55e386c4e55efd2cd6705789f8fbf4.tar.gz | |
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
Diffstat (limited to 'compiler/utils')
0 files changed, 0 insertions, 0 deletions
