-
All using GHC 9.6.5 on Linux with my [branch](https://github.com/bgamari/popcount-benchmark) (in particular bgamari/popcount-benchmark@46f47df6d40eb4121784dfc4a8f2585c7567d5b4), which has a few import…
-
This amounts to simply adapting the HTML escaping from the documentation of http://hackage.haskell.org/packages/archive/bytestring/0.10.2.0/doc/html/Data-ByteString-Builder-Prim.html.
-
The Pageant code doesn't work with IronPython 2.7.2 due to IronPython's strings being unicode. Where bytestrings are expected for the Agent protocol, we should be using bytestings, not the generic st…
-
Follow-up to #1 but using https://github.com/bgamari/popcount-benchmark/tree/x86-64-v2, which enables BMI extensions.
Invoked with:
```
nix run github:bgamari/popcount-benchmark/x86-64-v2# -- --c…
-
See:
```
λ import Data.Text.Encoding
λ import Data.Text.Encoding.Error
λ import Data.ByteString.Lazy (pack)
λ :type pack
pack ∷ [GHC.Word.Word8] → Data.ByteString.Lazy.Internal.ByteString
λ :…
-
I'm planning to use `ginger` as the underlying library for a static site generator. However, I'm puzzled why the only two types types implementing [ContextEncodable](https://hackage.haskell.org/packag…
-
It would occasionally be useful have a pattern synonym for the empty bytestring:
pattern Empty :: ByteString
pattern Empty True)
where
Empty = ByteString.empty
This makes…
-
From https://code.google.com/p/ndmitchell/issues/detail?id=290
vasyl said: I've used following attached code for benchmark, the "page.html" could be
arbitrary page, for example hackage packages list.…
-
This behaviour might be desired, but I thought I would bring it up. When setBit is called, the returned bytestring doesn't contain any of the bytes after the index.
```
Prelude> import qualified D…
-
At work, we discovered a somewhat surprising behavior of ByteString's `IsString` instance and interaction with `OverloadedStrings`.
The following REPL session demonstrates the issue:
```
λ> BS.…