module Language.Drasil.ExprClasses where
import Language.Drasil.Expr.Lang (Expr)
import Language.Drasil.ModelExpr.Lang (ModelExpr(Lit))
import Language.Drasil.ModelExpr.Convert (expr)
import Language.Drasil.Literal.Lang (Literal)
class Express c where
express :: c -> ModelExpr
instance Express Literal where
express :: Literal -> ModelExpr
express = Literal -> ModelExpr
Lit
instance Express Expr where
express :: Expr -> ModelExpr
express = Expr -> ModelExpr
expr
instance Express ModelExpr where
express :: ModelExpr -> ModelExpr
express = ModelExpr -> ModelExpr
forall a. a -> a
id