j6carey

Results 10 issues of j6carey

It seems that newtypes such as `Seconds` need rewrite rules in order for `fromIntegral` to work efficiently. Perhaps something inspired by these general rules for `Int64` from [GHC.Int](http://hackage.haskell.org/package/base-4.8.2.0/docs/src/GHC.Int.html): ``` haskell...

waiting-PR

In module `LLVM.Module`, the functions `writeObjectToFile`, `writeLLVMAssemblyToFile`, `writeTargetAssemblyToFile` (and possibly others) write to the named file, but if the file already exists and was longer than the number of bytes...

In `ghci-wrapper/src/Language/Haskell/GhciWrapper.hs` does it make sense to replace references to `GHC.IO.Handle.utf8` (which seems not to exist in recent versions of `base`) with `GHC.IO.Encoding.utf8`?

regression in 0.18

The "ghc" library is now used to parse and print Haskell source code. Switching to "ghc" adds support for language features beyond Haskell 98 and improves diagnostic messages for sources...

Consider this file `test.proto`: ``` syntax = "proto3"; package Test; enum E { A = 0; } enum F { A = 0; } ``` It is rejected by `protoc`:...

To reproduce: ``` $ nix-build -A proto3-suite --arg enableSwagger false ... tests/TestCodeGen.hs:18:1: error: Could not find module ‘Data.Swagger’ Perhaps you meant Data.Tagged (needs flag -package-key tagged-0.8.6.1) Use -v (or `:set...

According to [the protobuf v3 specification](https://developers.google.com/protocol-buffers/docs/proto3#json): > Message field names are mapped to lowerCamelCase and become JSON object keys. If the json_name field option is specified, the specified value will...

Name resolution in `compile-proto-file` deviates from that of `protoc` and from this portion of the specification: https://developers.google.com/protocol-buffers/docs/proto3#packages_and_name_resolution Specifically, `compile-proto-file` allows unqualified lookup of imported names, which seems to be nonstandard,...

bug

...without using intermediate data structures. Also add --stringType as a preferred spelling of --string-type, and fix a bug in the encoding of packed "sint32" fields that harmed forward compatibility with...

Like the Vector encoders but unlike the forward-order Foldable encoders they avoid the need to save elements to the stack before encoding them, instead immediately encoding the final element as...