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

Cleanup of Haskell model #32

Open
rlaemmel opened this issue Jun 12, 2017 · 0 comments
Open

Cleanup of Haskell model #32

rlaemmel opened this issue Jun 12, 2017 · 0 comments
Assignees
Labels

Comments

@rlaemmel
Copy link
Collaborator

Looking at this:

image

The fold is not "data" perspective.
It may count as "Run-time system" (new subfeature of "Dynamic semantics").

Since the event sequence is shown in the same piece of code, which is indeed "data", you would need two perspectives.

Anyway, the code is not well modularized in two ways:

  • Why mix a general fold (which works for many inputs) with one specific event sequence?
  • Can't you have a more polymorphic fold which also does not depend on the specific state type?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants