[Haskell-cafe] Library for URL/URI?

Yuras Shumovich shumovichy at gmail.com
Sun Oct 12 10:53:39 UTC 2014


Hello,

Probably a silly question... But do we have good library for URL
manipulations?

I spent 2 days looking for library, that
  - has permissive license
  - doesn't use `String` everywhere
  - handles query part parsing/rendering
  - has minimal dependencies
(Probably URL lib should not depend on anything outside Haskell
Platform.)

The best thing I found so far is
https://github.com/Soostone/uri-bytestring
It has few unnecessary dependencies (like http-types or errors,) but I
can fork it and fix for my needs.
Unfortunately it has unclear license -- BSD3 according to cabal file,
but GPL-3 in source header.

Are there better libs I missed? What are you using for URLs?

Thanks,
Yuras




More information about the Haskell-Cafe mailing list