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

add mapE, mapMS to simplify some Event definitions #9

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

kfish
Copy link

@kfish kfish commented Sep 15, 2012

This is untested, but it seemed there were some common patterns in the Event functions. I'm not entirely sure that mapE or mapMS are the best names (mapE is mapping the contents of the signals of an Event, and mapMS is a mapM on the signals). Also, this patch doesn't export the functions.

Removing this gave no error, though perhaps it is
implied by FunctionalDependencies.

Tested-with: ghc-7.4.2
Use these to simplify some Discrete functions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant