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

Split monadic and non-monadic code #115

Open
jlouis opened this issue Feb 27, 2014 · 1 comment
Open

Split monadic and non-monadic code #115

jlouis opened this issue Feb 27, 2014 · 1 comment
Labels

Comments

@jlouis
Copy link
Collaborator

jlouis commented Feb 27, 2014

Code which communicates with the underlying socket is monadic. Code which just analyses results computationally are pure. If you split this up, then it becomes easier to test the code base by invoking internals on the purely-functional parts.

It also improves the general structure of the module and shifts responsibility around in a neat way.

@jlouis jlouis added the Enhance label Feb 27, 2014
@saa
Copy link

saa commented Feb 28, 2014

You want split into modules?

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