Hacker News new | ask | show | jobs
by jbreckmckye 1369 days ago
> 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...

1 comments

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.
Nice one. This sort of usability thing sounds simple enough, but having it is really nice, especially for newcomers.