You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The function FRP.Yampa.Event.maybeToEvent is labelled as internal, yet it is being exported by the module. The function is useful and is being used in the wild:
This is either an error in the implementation (the function should not be exported), or an error in the design (the function should be offered), or an error in the documentation (the comment and haddock section header indicator are incorrect).
The text was updated successfully, but these errors were encountered:
The function FRP.Yampa.Event.maybeToEvent is labelled as internal, yet
it is being exported by the module. The function is useful and is being
used in the wild, so removing it now would break existing applications.
This commit makes the function "officially" public. It changes the
comment stating that it is internal, and it moves it within the module
to a location that makes more sense in terms of explaining the API.
A prior commit moved the function FRP.Yampa.Event.maybeToEvent within
its module to a location that made more sense in terms of explaining the
API.
This commit moves the accompanying test in yampa-test, so that the test
module remains consistent with the module it tests.
The function
FRP.Yampa.Event.maybeToEvent
is labelled as internal, yet it is being exported by the module. The function is useful and is being used in the wild:https://github.com/pe200012/AlgorithmLearning/blob/d63e1eac38cbce8e6399abef8fee32f49f03f1be/Haskell/Toy/src/Type/Event.hs#L21
https://github.com/pnotequalnp/snake/blob/982f19844713be7c22d87ece9b551e38a633d255/app/Terminal.hs#L77
https://github.com/Simre1/yampa-sdl2/blob/c0ad94b9ba50d545f842eaf0916c1acf093514c3/src/YampaSDL2/InputOutput.hs#L58
https://github.com/isovector/ld53/blob/341092b29d07a589f4bf302541a2d9a80d61460d/src/Game/Splash.hs#L56
This is either an error in the implementation (the function should not be exported), or an error in the design (the function should be offered), or an error in the documentation (the comment and haddock section header indicator are incorrect).
The text was updated successfully, but these errors were encountered: