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

This doesn't currently specialise as well as `decimal`, but it should be easy to give it an analogous structure if that would help. In the absence of benchmarks, I've left...

API Addition (PVP minor)

It is very common to transform two `Text` values and then compare them for equality. ```hs toCaseFold x == toCaseFold y ``` This operation ends up being costly because it...

API Addition (PVP minor)

I am interested in making a pr for this. We would have to check that the index is on a correct char boundary. Partial and non partial variants would be...

feature request
question

Could this function be exported from `Data.Text`?

AVX512 instructions require OS support as well as CPU support. Bits 5, 6, and 7 of XCR0 should be enabled to run with AVX512 support. This fixes SIGILL on OpenBSD,...

#558 made me notice that while the implementation of `inits` is overall optimal ( $O(n^2)$ ), it has an awkward property that evaluating the ith text in the result takes...

The code sample looks like ```haskell {-# LANGUAGE OverloadedStrings #-} f :: B.Builder f = "a cat" "a dog" "a fish" ``` By using Builder from `bytestring`, the above code...

E.g. [Simon Marlow said to me](https://github.com/simonmar/async/issues/151#issuecomment-1770564572) > I think you might have a different interpretation of "Module encapsulation" than the intended one. Safe Haskell only promises that the semantics of...

I haven't added tests or benchmarks yet, because I'm not quite sure how to do it. Open questions: * Can QuickCheck generate monadic functions? * And what would be a...