Skip to content

Reuse 'MonadThrow' and 'force' for 'AttrParser'#52

Merged
snoyberg merged 1 commit intosnoyberg:masterfrom
k0ral:master
May 9, 2015
Merged

Reuse 'MonadThrow' and 'force' for 'AttrParser'#52
snoyberg merged 1 commit intosnoyberg:masterfrom
k0ral:master

Conversation

@k0ral
Copy link
Copy Markdown
Collaborator

@k0ral k0ral commented May 8, 2015

A MonadThrow instance for AttrParser makes it possible to:

  • add custom requirements on an attribute value (e.g. parse as URI);
  • replace optionalAttr/requireAttr with attr/force, which is simpler and consistent with the rest of the API.

I made sure changes are backward-compatible.

snoyberg added a commit that referenced this pull request May 9, 2015
Reuse 'MonadThrow' and 'force' for 'AttrParser'
@snoyberg snoyberg merged commit dd3765d into snoyberg:master May 9, 2015
@snoyberg
Copy link
Copy Markdown
Owner

snoyberg commented May 9, 2015

Thanks! You're definitely taking a lot of interest in this library, and contributing good stuff. Would you be interested in becoming a comaintainer of it?

@k0ral
Copy link
Copy Markdown
Collaborator Author

k0ral commented May 11, 2015

I would be glad to help maintaining xml-conduit, if you feel it is needed.

@snoyberg
Copy link
Copy Markdown
Owner

I mostly just don't want to become a roadblock to you making improvements to this library :) If you tell me your Hackage username, I'll add you to the maintainer group.

@k0ral
Copy link
Copy Markdown
Collaborator Author

k0ral commented May 11, 2015

My Hackage username is koral. Thank you :)

@snoyberg
Copy link
Copy Markdown
Owner

Cool, done.

On Mon, May 11, 2015 at 1:36 PM k0ral notifications@github.com wrote:

My Hackage username is koral. Thank you :)


Reply to this email directly or view it on GitHub
#52 (comment).

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

Successfully merging this pull request may close these issues.

2 participants