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

In #112, the decision was made to deprecate some of the error handling for encoding functions, on the basis that none of the library functions actually use them. That is...

question

Which can result into ``` pushing /nix/store/j2yzfcd4wli8lj5i6yvyg6h1sbvjr55i-glibc-2.27 pushing /nix/store/7jgadbmbxp4fz4c96qm154g8sq0y8398-ghc-8.4.3-docpushing /nix/store/vf475f9cg41h8dxz5g8i0mxvbbqpry36-attr-2.4.47 pushing /nix/store/fcyxw5aslw3a82p33x5lhckj0mr6g1s4-bash-4.4-p23 ``` instead of ``` pushing /nix/store/j2yzfcd4wli8lj5i6yvyg6h1sbvjr55i-glibc-2.27 pushing /nix/store/7jgadbmbxp4fz4c96qm154g8sq0y8398-ghc-8.4.3-doc pushing /nix/store/vf475f9cg41h8dxz5g8i0mxvbbqpry36-attr-2.4.47 pushing /nix/store/fcyxw5aslw3a82p33x5lhckj0mr6g1s4-bash-4.4-p23 ``` --- It's currently implemented as:...

feature request

``` λ> Data.Text.lines "\n" [""] λ> Data.Text.splitOn "\n" "\n" ["",""] ``` This surprised me a bit. I think it should be documented at least.

question

It appears the change proposed in issue [167](https://github.com/haskell/text/issues/167) got committed so that title-casing only takes place after spaces. However, the documentation still reads: "The first letter of the input is...

documentation

The main agenda of the patch is to refactor the code of `Arbitrary {,L}Text` generation. Then, because there were a lot of functoring of newtype accessors, went over a module...

internal

The semantics of size hints for `Stream`s is a bit unclear at the moment. `Date.Text.Internal.Fusion.Types` is very vague: https://github.com/haskell/text/blob/9c67dad7ce7ebdfddf5f3bfdd915046c33b68e13/src/Data/Text/Internal/Fusion/Types.hs#L71-L81 In fact we do not rely on size hints to detect...

question

The [subsequence](https://en.wikipedia.org/wiki/Subsequence) predicate function use example is the textual fuzzy search. In the most basic implementation, fuzzy search == subsequence search, as a defining feature of it. Examples of subsequence...

feature request

```haskell -- check invariants valid :: Text -> Bool ``` For strict text it would check that array is big enough to have offset+length, and that the slice is valid...

feature request

I am quite surprised by the absence of the common function to capitalize the first letter of a string. Yes, we have `toTitle` but its behaviour is different to what...

feature request
question

`IReader` is defined as ```haskell type IReader t a = t -> Either String (a, t) ``` What is the reason why it is using `String` instead of `Text` for...

question