News for hackers. Stuff that matters.
Re:IHP, a batteries-included web framework built on Haskell ... by jbreckmckye on Saturday September 17, 2022 @06:50PM (#32882388)
> My past experience with Haskell web frameworks was that there weren't many packages for common things, and that when there were they took quite a bit of integration work to use nicely.

Congralulations, you read an email address out of a database! Commiserations, it was parsed into a LazyByteString and the rest of your stack demands a Text or a String or a CuneiformCodepointArray or whatever...

Re:IHP, a batteries-included web framework built on Haskell ... by _query on Sunday September 18, 2022 @05:11AM (#32885812)
IHP actually provides a `cs` (cs as an abbrev for convertString) function that is always in scope. With that function you can easily convert between all different string types.
Re:IHP, a batteries-included web framework built on Haskell ... by danpalmer on Sunday September 18, 2022 @05:44AM (#32885993)
Nice one. This sort of usability thing sounds simple enough, but having it is really nice, especially for newcomers.