diff options
author | Manuel M T Chakravarty <chak@cse.unsw.edu.au> | 2006-09-20 18:19:12 +0000 |
---|---|---|
committer | Manuel M T Chakravarty <chak@cse.unsw.edu.au> | 2006-09-20 18:19:12 +0000 |
commit | 5e0ea427646a5474dd7c659b0713c6a62d8c99c7 (patch) | |
tree | d24ef6ea1a63effbc6fa562b30bf5a5c7b97400a /compiler/stranal/WwLib.lhs | |
parent | 19e64b50409a331ddf816cb4c7f33d646dabd43a (diff) | |
download | haskell-5e0ea427646a5474dd7c659b0713c6a62d8c99c7.tar.gz |
Flip direction of newtype coercions, fix some comments
Mon Sep 18 17:19:19 EDT 2006 Manuel M T Chakravarty <chak@cse.unsw.edu.au>
* Flip direction of newtype coercions, fix some comments
Sun Aug 6 20:56:23 EDT 2006 Manuel M T Chakravarty <chak@cse.unsw.edu.au>
* Flip direction of newtype coercions, fix some comments
Thu Aug 3 10:53:37 EDT 2006 kevind@bu.edu
Diffstat (limited to 'compiler/stranal/WwLib.lhs')
-rw-r--r-- | compiler/stranal/WwLib.lhs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/stranal/WwLib.lhs b/compiler/stranal/WwLib.lhs index 3383cb433f..f10cb2288e 100644 --- a/compiler/stranal/WwLib.lhs +++ b/compiler/stranal/WwLib.lhs @@ -238,8 +238,8 @@ mkWWargs fun_ty demands one_shots -- simply coerces. = mkWWargs rep_ty demands one_shots `thenUs` \ (wrap_args, wrap_fn_args, work_fn_args, res_ty) -> returnUs (wrap_args, - \ e -> Cast (wrap_fn_args e) co, - \ e -> work_fn_args (Cast e (mkSymCoercion co)), + \ e -> Cast (wrap_fn_args e) (mkSymCoercion co), + \ e -> work_fn_args (Cast e co), res_ty) | notNull demands = getUniquesUs `thenUs` \ wrap_uniqs -> |