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

evalStateT vs. execStateT #87

Closed
matthewleon opened this issue Mar 21, 2017 · 3 comments
Closed

evalStateT vs. execStateT #87

matthewleon opened this issue Mar 21, 2017 · 3 comments

Comments

@matthewleon
Copy link
Contributor

It would be nice for some clarification as to why both of these exist, and whether one is to be preferred over another.

@garyb
Copy link
Member

garyb commented Mar 21, 2017

I'm not sure how it could be further clarified, given the types and existing descriptions for the functions - any suggestions? They're just fst and snd over runStateT.

@matthewleon
Copy link
Contributor Author

Actually, no. I just failed to notice that the final type var in the declarations is different. My apologies.

@garyb
Copy link
Member

garyb commented Mar 21, 2017

No problem 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants