Fumiaki Kinoshita

Results 73 comments of Fumiaki Kinoshita

@phadej If the autogen-modules section is missing, I'm unable to build it because cabal-install fails with the following error (cf. https://github.com/awakesecurity/proto3-suite/pull/185) ``` cabal: sdist of proto3-suite-0.5.0: Error: Could not find...

@phadej Any change you could consider lifting the restriction? I'm not sure what exactly goes wrong if such package is uploaded to Hackage

@Mikolaj hi, sorry for late response. I made a small reproducer: https://github.com/fumieval/cabal-autogen-modules-issue If a package lacks autogen-modules, cabal is unable to use the package as source-repository-package. Specifying autogen-modules fixes this...

Updating cabal-version didn't help. I made a smaller reproducing example: https://github.com/fumieval/cabal-autogen-modules-issue/blob/98905bad79d3e25ce765019b791a837e25f690ea/target/autogen-issue-fumieval.cabal `cabal check` and `cabal sdist` pass, however, Hackage rejects the package: ```fumieval@Retrofractum target % cabal --version cabal-install version 3.6.2.0...

A lot of people I know (including me) have shot their feet by this instance. As a user of Japanese writing system, I strongly support changing the instance to use...

#219 added an IsList instance to `ByteString` but `Item ByteString` is always `Word8` because `Char8` wraps functions, not the type. I suppose we need to add type synonyms individually as...

Admittedly, I haven't used backpacks seriously other than [bytes-builder-shootout](https://github.com/andrewthad/bytes-builder-shootout). I can imagine that, if `bytestring` had a useful example, there'll be a lot more users of backpack; looks like a...

bytestring's Builder tends to be slow when working with small primitives (e.g. Word8). From [my small benchmark](https://github.com/fumieval/benchmark/blob/master/src/ByteString/Builder.hs): ``` bytestring mean 247.6 ns ( +- 12.06 ns ) bytestring-builder mean 188.7...

Because `toLazyByteString` forks another thread to run the builder action, and the caller thread retrieves the chunks it yields via MVar. fast-builder avoids this problem by delaying forking until it...

Yes, currently it has a big (constant?) overhead. If the whole process takes more than 100μs, I think mason gets faster than others (as shown in https://github.com/fumieval/mason#performance) in most cases.