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

Clarify post IDs argument to wordpressSubs #70

Open
emhoracek opened this issue Mar 17, 2020 · 0 comments
Open

Clarify post IDs argument to wordpressSubs #70

emhoracek opened this issue Mar 17, 2020 · 0 comments

Comments

@emhoracek
Copy link
Member

Recently we changed the storage of post IDs for wpNoPostDuplicates from a Maybe IntSet that is stored in the WordPress b data type to Maybe (MVar (Maybe IntSet)). This is much more complex and probably a little confusing. Maybe we could try making a data type just for storing post IDs that making more explicit what the Maybes mean. So, instead of Maybe we could make something like data PostDuplicatesTracker = NotTracking | Tracking IntSet. Then we would have Maybe PostDuplicatesTracker... or something.

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

1 participant