Haskell Platform Proposal: add the 'text' library

wren ng thornton wren at community.haskell.org
Wed Sep 8 20:29:28 EDT 2010

On 9/8/10 4:34 PM, Edward Kmett wrote:
> Do I believe that the Text API should expose this kind of functionality? I'd
> hazard not. In the above, each of my cursor positions is well formed, it
> always comes between two characters. Any slice made between any two valid
> cursors for the buffer set succeeds. To provide those guarantees you need
> rank 2 types and general scariness that does not belong in a Platform
> library.

Well, as per the proposal, text already requires Rank2Types, 
ScopedTypeVariables, and ExistentialQuantification. That should be 
enough to get started >;)

Live well,

More information about the Libraries mailing list