added todo for class

This commit is contained in:
sebastian 2023-03-21 14:51:06 +01:00
parent 4c015a4aac
commit 3026a96eb7

View file

@ -377,6 +377,9 @@ inst (Forall xs t) = do
compose :: Subst -> Subst -> Subst
compose m1 m2 = M.map (apply m1) m2 `M.union` m1
-- TODO: Split this class into two separate classes, one for free variables
-- and one for applying substitutions
-- | A class representing free variables functions
class FreeVars t where
-- | Get all free variables from t