text icon indicating copy to clipboard operation
text copied to clipboard

Haskell library for space- and time-efficient operations over Unicode text.

Results 86 text issues
Sort by recently updated
recently updated
newest added

`head` is partial, so it would be great to have a safe alternative.

feature request

The fact that we have both lazy and strict `Text` types without any marker outside of their namespace is rather unfortunate. In pretty big codebases or modules, it's also easy...

feature request

[For context, here is a recent reddit discussion about a program that runs faster with optimizations disabled.](https://www.reddit.com/r/haskell/comments/7yh8ar/i_wrote_a_program_that_runs_about_10_times_faster/). This is caused by an interaction between the `INLINE` pragma on indices and...

internal

The docs say: > O(m+n) > [...] > In (unlikely) bad cases, this function's time complexity degrades towards O(n*m). How unlikely are these bad cases? In any case the O(m+n)...

documentation

This adds the following decoders: - decodeUtf16LE' - decodeUtf16BE' - decodeUtf32LE' - decodeUtf32BE'

API Addition (PVP minor)

It seems these internals were not moved in 2010 when `Data.Text.Builder` became `Data.Text.Lazy.Builder`. If/when we add a strict text builder, these will be in the way.

internal

The documentation on `double` states that it loses accuracy on some inputs, but using `rational` will fix this. I understood this to mean that if one simply used `rational ::...

question

This should perhaps be a comment under the heading of https://github.com/bos/text/pull/55 . The difficulties are outlined a bit laboriously beginning around here https://github.com/michaelt/text-pipes/issues/1#issuecomment-28099431 . The difficulty can I think be...

feature request
question

Are there any troubleshooting steps you might suggest if I'm getting similar errors to #10 with new versions of `text`? I'm trying to do a shrink, but right now can...

bug
question

In `Data.Text.Lazy.Builder.Int`, the functions `decimal` and `hexadecimal` are available. Sometimes, I need to zero pad my decimal and hexadecimal representations to a certain length. I propose adding the following two...

feature request