Skip to content

Added hyperbole to web-development.md #3

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

Merged
merged 2 commits into from
Dec 24, 2024

Conversation

seanhess
Copy link
Contributor

Hyperbole is the full web framework built on top of web-view. The use of Effectful in web-view is deliberately opaque: View doesn't allow users to add further effects, discouraging them from doing things like accessing a database in view functions.

On the other hand, Hyperbole is tightly integrated with Effectful. Users must use effectful to load pages and handle user actions.

Copy link
Member

@Kleidukos Kleidukos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should web-view be removed from the list, then?

@seanhess
Copy link
Contributor Author

I'll leave it up to you: depending on whether you want the umbrella to be wide or narrow. This is the only function with Eff in its signature:

https://hackage.haskell.org/package/web-view-0.6.1/docs/Web-View.html#v:table

It's just a Writer. I didn't want to add an MTL dependency.

@seanhess
Copy link
Contributor Author

And here's the type View that uses it internally (implementation not shown in the main module). https://hackage.haskell.org/package/web-view-0.6.1/docs/Web-View-View.html

Given what I guess you're trying to do here, I would probably drop it, as it doesn't allow a user to compose effects when generating HTML.

@Kleidukos
Copy link
Member

Yep, the idea is to offer libraries for users of Effectful, not really showcasing libraries that happen to use Effectful but the usage remains hidden to the user.

If you could remove web-view that would be fantastic ❤️

@seanhess
Copy link
Contributor Author

Done!

@Kleidukos Kleidukos merged commit c0bff43 into haskell-effectful:master Dec 24, 2024
2 checks passed
@Kleidukos
Copy link
Member

Thank you 💚 💙 💜 💛 ❤️

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