type IsString + test unification error

This commit is contained in:
crumbtoo
2023-12-18 11:22:40 -07:00
parent 0470912983
commit e9e1c075db
3 changed files with 16 additions and 4 deletions

View File

@@ -126,6 +126,9 @@ type Binding' = Binding Name
instance IsString (Expr b) where
fromString = Var
instance IsString Type where
fromString = TyVar
instance Semigroup (Program b) where
(<>) = coerce $ (<>) @[ScDef b]