-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
As a result, quite a few types are now parameterised over a state parameter `s` (e.g., `RealWorld` for `IO`). This change causes quite a bit of noise, but it's necessary for generalising all our code away from just `IO`. I have also considered whether it would be better to parameterise these types by a monad `m` instead of the state type `s`. An `m` parameter is slightly more general, since we can use `PrimState m` whenever `s` would be required. In the spirit of the YAGNI principle, I decided not to do that (for now). We can make that change later if turns out to be necessary.
- Loading branch information
Showing
15 changed files
with
202 additions
and
188 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
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
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
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
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.