-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modernize the typechecker monad and make it abstract
Summary: This is a no-op diff that just reorganizes the code a bit. The typechecker monad is made abstract. This allows for removinging the specialized `collect` function in favour an `Applicative` instance. Similarly, `orT` and `emptyT` are replaced by an `Alternative` instance. I've also removed `mapT` and `mapE` as they were just `traverse`. Reviewed By: simonmar Differential Revision: D53135425 fbshipit-source-id: a050c73729ef51ad56ea85126e8dbf0cc15a9583
- Loading branch information
1 parent
a80c3d5
commit c39a45c
Showing
3 changed files
with
84 additions
and
103 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.