Skip to content

Use the Reader monad for variable binding #2

Description

@lexvanderstoep

In the various steps of the SAT solver, the variable binding is being passed around functions when trying to find a satisfying interpretation.

It would be cleaner to use the Reader monad instead to pass this shared variable (variable mapping) around.

See Control.Monad.Reader

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

enhancementNew feature or request

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions