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

Support for signal functions in transformed monads #241

Open
wants to merge 8 commits into
base: develop
Choose a base branch
from

Conversation

Linearity
Copy link

SF has a monad parameter that is transformed with ClockInfo in its type synonym definition:

type SF m = MSF (ClockInfo m)

This branch defines transformations of signal functions between some different monad parameters. These make it easier to transform this monad "underneath" the ClockInfo layer. It is inspired by Rhine's transformer-commuting code.

Additionally, it changes reactimate to work on signal functions with monads other than Identity.

Fixes #174

dunai-frp-bearriver/src/FRP/BearRiver.hs Outdated Show resolved Hide resolved
dunai-frp-bearriver/src/FRP/BearRiver.hs Outdated Show resolved Hide resolved
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.

bearriver: Cannot apply runStateS__ to SF (StateT s m) a b values
2 participants