-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bearriver: Port module FRP.Yampa.Event to bearriver. Refs #380.
The module FRP.Yampa.Event is being offered by Yampa, but not bearriver. This makes the interface offered by bearriver not compliant with Yampa, therefore not delivering on the promise of being API-compatible. This commit adds the module FRP.Yampa.Event into bearriver, as FRP.BearRiver.Event. Several definitions that existed in FRP.BearRiver but belong in this new Event module are moved accordingly and re-exported as needed. The module is also structured and commented similar to Yampa's counterpart, to minimize the differences between the two and reduce the maintenance burden. Some definitions pertaining to Events, like those to convert from types Bool, and those to convert Event to Maybe, are not offered by Yampa, so they are left in the BearRiver module although they might conceptually fit best in a module dealing with Events. Those functions will have to be made private, be removed, or be introduced in Yampa before they are introduced in BearRiver.
- Loading branch information
1 parent
3f8a8e9
commit f9630ad
Showing
3 changed files
with
288 additions
and
219 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
Oops, something went wrong.