Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
sweirich committed Jun 16, 2023
1 parent 9d82a9b commit efdd186
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion full/src/Environment.hs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ data Env = Env
sourceLocation :: [SourceLocation]
}

--deriving Show


-- | The initial environment.
emptyEnv :: Env
Expand Down
2 changes: 1 addition & 1 deletion full/src/Equal.hs
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ unify ns tx ty = do
-- solutions.
amb :: Term -> Bool
amb (App t1 t2) = True
amb (If _ _ _) = True
amb If {} = True
amb (LetPair _ _) = True
amb (Case _ _) = True
amb _ = False
Expand Down
2 changes: 1 addition & 1 deletion main/src/Equal.hs
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ unify ns tx ty = do
-- solutions.
amb :: Term -> Bool
amb (App t1 t2) = True
amb (If _ _ _) = True
amb If {} = True
amb (LetPair _ _) = True
amb (Case _ _) = True
amb _ = False
Expand Down
File renamed without changes.
2 changes: 0 additions & 2 deletions version1/src/Environment.hs
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,6 @@ data Env = Env
sourceLocation :: [SourceLocation]
}

--deriving Show

-- | The initial environment.
emptyEnv :: Env
emptyEnv =
Expand Down
2 changes: 1 addition & 1 deletion version2/src/Environment.hs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ data Env = Env
sourceLocation :: [SourceLocation]
}

--deriving Show


-- | The initial environment.
emptyEnv :: Env
Expand Down
2 changes: 1 addition & 1 deletion version3/src/Environment.hs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ data Env = Env
sourceLocation :: [SourceLocation]
}

--deriving Show


-- | The initial environment.
emptyEnv :: Env
Expand Down

0 comments on commit efdd186

Please sign in to comment.