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
|
@ -2,7 +2,11 @@
|
|||
module Language.Scalie.Domain.Type (Type(..)) where
|
||||
|
||||
import Data.Kind qualified
|
||||
import Text.Show (Show)
|
||||
import Text.Read (Read)
|
||||
|
||||
type Type :: Data.Kind.Type
|
||||
data Type
|
||||
data Type
|
||||
= RawInt
|
||||
deriving stock (Show, Read)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue