forked from awakesecurity/gRPC-haskell
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This adds a `Show` instance for `Builder` that generates valid Haskell code and uses this to simplify the examples. The `Show` instance helps when testing `Builder` in the REPL without having to wrap everything in `toLazyByteString` However, this does not add a `Show` instance for `Proto3.Wire.Encode.Builder` since that type does not expose an API for assembling a `Builder` from a sequence of bytes
- Loading branch information
1 parent
87ffc0e
commit ce7d39b
Showing
1 changed file
with
41 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters