Desugaring arrow commands
\begin{code}
+{-# OPTIONS_GHC -w #-}
+-- The above warning supression flag is a temporary kludge.
+-- While working on this module you are encouraged to remove it and fix
+-- any warnings in the module. See
+-- http://hackage.haskell.org/trac/ghc/wiki/WorkingConventions#Warnings
+-- for details
+
module DsArrows ( dsProcExpr ) where
#include "HsVersions.h"
import HsUtils
import VarSet
import SrcLoc
+
+import Data.List
\end{code}
\begin{code}
unionVarSets fv_sets)
-dsCmd ids local_vars env_ids stack res_ty (HsTick ix expr)
+dsCmd ids local_vars env_ids stack res_ty (HsTick ix vars expr)
= dsLCmd ids local_vars env_ids stack res_ty expr `thenDs` \ (expr1,id_set) ->
- mkTickBox ix expr1 `thenDs` \ expr2 ->
+ mkTickBox ix vars expr1 `thenDs` \ expr2 ->
return (expr2,id_set)
-- A | ys |- c :: [ts] t (ys <= xs)