Results 47 issues of Vincent Hanquez

Reinvent the `Handle` type to be leaner

WIP
C - system

we should only have CountOf that are positive, and the only way to create negative count of would be using the `(-)` operation. By having `(-)` returning a `Maybe CountOf`,...

C - design
D - easy
C - collection

@ndmitchell says in issue #256: > DList is a particular encoding, but I've generally found that `data Str a = Zero | One a | Two (Str a) (Str a)`...

X - help wanted
D - easy
C - collection

UTF32 decoder/encoder should have a `UTF32BE` and `UTF32LE` mode. the unspecified endianess `UTF32` is still useful, but should be documented.

T - string

The end goal is to end up with something like this: ```haskell data UArray ty = UArray (Offset ty) (Size ty) (# ByteArray# | FinalPtr ty #) ```

D - hard
T - array

depends on #303 , then showIntegral, then showFractional & showDouble.

D - hard
T - string

Currently the length is calculated in o(n) before applying the reverse operation (revTake n == drop (len-n)), this is not optimised. we can use the UTF8 encoding continuation bytes to...

D - medium
C - performance
T - string

should rewrite most toList function to use `build`, which allow better fusion ... [build](https://www.stackage.org/haddock/lts-8.17/base-4.9.1.0/GHC-Exts.html#v:build) apply to: * [ ] Array * [ ] UArray * [ ] String * [...

D - medium
C - performance
T - array
T - string