Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bearriver: Offer all definitions from FRP.Yampa.Event #380

Closed
ivanperez-keera opened this issue Oct 21, 2023 · 0 comments
Closed

bearriver: Offer all definitions from FRP.Yampa.Event #380

ivanperez-keera opened this issue Oct 21, 2023 · 0 comments
Assignees
Milestone

Comments

@ivanperez-keera
Copy link
Owner

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 is a subissue of #40. Because #40 is a big issue, it's good to split it in several smaller ones.

@ivanperez-keera ivanperez-keera added this to the Duna 0.11.3 milestone Oct 21, 2023
ivanperez-keera added a commit that referenced this issue Oct 21, 2023
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.
ivanperez-keera added a commit that referenced this issue Oct 21, 2023
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.
ivanperez-keera added a commit that referenced this issue Oct 21, 2023
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.
@ivanperez-keera ivanperez-keera self-assigned this Oct 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant