feat: Read and Show for all the types
This commit is contained in:
parent
bf525c2dfd
commit
fd715d99e0
9 changed files with 87 additions and 25 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue