mgu
This commit is contained in:
1 parent
f6035b8a6a
commit
215feb433b
3 files changed
+65
-7
No files matched your search
@@ -23,14 +23,14 @@ type Context' = HashMap PsName (Type PsName)
|
||||
data Constraint = Equality (Type PsName) (Type PsName)
|
||||
deriving (Eq, Generic, Show)
|
||||
|
||||
newtype PartialJudgement = PartialJudgement Constraints
|
||||
newtype PartialJudgement = PartialJudgement [Constraint]
|
||||
deriving (Generic, Show)
|
||||
deriving (Semigroup, Monoid)
|
||||
via Generically PartialJudgement
|
||||
|
||||
instance Hashable Constraint
|
||||
|
||||
type Constraints = HashSet Constraint
|
||||
-- type Constraints = HashSet Constraint
|
||||
|
||||
type Memo t = HashMap t (Type PsName, PartialJudgement)
|
||||
|
||||
|
||||
Reference in new issue
Block a user