import Data.Text (Text)
import qualified Data.Text as Text
-import Prelude hiding (and, not, or, Monad(..))
+import Prelude hiding (and, not, or, Monad(..), id)
import Language.Symantic.Repr
import Language.Symantic.Expr
.|. Expr_List
.|. Expr_Bool
.|. Expr_Int
+ .|. Expr_Num
+ .|. Expr_Integral
.|. Expr_If
.|. Expr_Eq )) repr => repr h) expected =
testCase (Text.unpack $ text_from_expr $ expr) $
.|. Expr_Functor
.|. Expr_Bool
.|. Expr_Int
+ .|. Expr_Num
.|. Expr_If
.|. Expr_Eq )) repr => repr h) expected =
testCase (Text.unpack $ (text_from_expr :: Repr_Text _h -> Text) $ expr) $
.|. Expr_Maybe
.|. Expr_Bool
.|. Expr_Int
+ .|. Expr_Num
.|. Expr_If
.|. Expr_Eq )) repr => repr h) expected =
testCase (Text.unpack $ text_from_expr $ expr) $
.|. Expr_Maybe
.|. Expr_Bool
.|. Expr_Int
+ .|. Expr_Num
.|. Expr_If
.|. Expr_Eq )) repr => repr h) expected =
testCase (Text.unpack $ text_from_expr $ expr) $