Skip to content

Cleanup of Haskell model #32

@rlaemmel

Description

@rlaemmel

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?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions