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

ToMarkup instance #17

Open
tkemps opened this issue Mar 24, 2015 · 0 comments
Open

ToMarkup instance #17

tkemps opened this issue Mar 24, 2015 · 0 comments

Comments

@tkemps
Copy link

tkemps commented Mar 24, 2015

Could we please have the following instance?

instance (ToMarkup a) => ToMarkup (E.Value a) where
toMarkup x = toMarkup (E.unValue x)

This would simplify the use of Values in hamlet templates, since we would no longer need to write #{E.unvalue whatEver} but we could just use #{whatEver}.

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