ciren / cilib

Typesafe, purely functional Computational Intelligence
https://cilib.net
Apache License 2.0
124 stars 101 forks source link

Correct state usage in StepS. Remove hoist shenanigans #285

Closed gpampara closed 6 years ago

gpampara commented 6 years ago

It's better to interact with the state in the StepS transformer using a MonadState mtl-like typeclass. It reduces a fair amount of noise and makes the inference much simpler.