feat: Read and Show for all the types

This commit is contained in:
vegowotenks 2025-08-12 14:22:59 +02:00
parent bf525c2dfd
commit fd715d99e0
9 changed files with 87 additions and 25 deletions

View file

@ -3,7 +3,10 @@ module Language.Scalie.Ast.Expression (Expression(..)) where
import Prelude (Integer)
import Data.Kind (Type)
import Text.Show (Show)
import Text.Read (Read)
type Expression :: Type
data Expression
= RawInt Integer
deriving stock (Show, Read)