@@ -5,7 +5,7 @@ Copyright :
55License : BSD3
66Maintainer : The Idris Community.
77-}
8−{-# LANGUAGE DeriveFunctor, DeriveGeneric, PatternGuards #-}
8+{-# LANGUAGE DeriveDataTypeable, DeriveFunctor, DeriveGeneric, PatternGuards #-}
99
1010module IRTS.Lang where
1111
@@ -14,7 +14,9 @@ import Idris.Core.TT
1414
1515import Control.Applicative hiding (Const)
1616import Control.Monad.State hiding (lift)
17+import Data.Data (Data)
1718import Data.List
19+import Data.Typeable (Typeable)
1820import Debug.Trace
1921import GHC.Generics (Generic)
2022
@@ -117,7 +119,7 @@ data FType = FArith ArithTy
117119data LAlt' e = LConCase Int Name [Name] e
118120 | LConstCase Const e
119121 | LDefaultCase e
120− deriving (Show, Eq, Functor)
122+ deriving (Show, Eq, Functor, Data, Typeable)
121123
122124type LAlt = LAlt' LExp
123125