Name : ghc-protobuf-simple
| |
Version : 0.1.0.2
| Vendor : obs://build_opensuse_org/devel:languages:haskell
|
Release : 2.19
| Date : 2018-01-30 04:43:11
|
Group : Development/Languages/Other
| Source RPM : ghc-protobuf-simple-0.1.0.2-2.19.src.rpm
|
Size : 3.74 MB
| |
Packager : (none)
| |
Summary : Simple Protocol Buffers library (proto2)
|
Description :
An Haskell implementation of Google\'s Protocol Buffers version 2 with an emphasis on simplicity. The implementation consists of a library for encoding and decoding of data and the `protoc` executable for generating Haskell types from proto files. In fact, the types that are used in the tests are generated with the following command:
> $ protoc data/Types.proto
In the example below, the `CustomType` is a Haskell type that was generated with the `protoc` executable. The `encCustomType` function encodes a CustomType into a ByteString. The `decCustomType` function decodes a ByteString into either a CustomType or an error.
> module Codec where > > import Data.ByteString.Lazy (ByteString) > import Data.ProtoBuf (decode, encode) > import Types.CustomType (CustomType(..)) > > encCustomType :: CustomType -> ByteString > encCustomType = encode > > decCustomType :: ByteString -> Either String CustomType > decCustomType = decode
The library exposes two modules, \"Data.ProtoBuf\", which is used for encoding and decoding and \"Data.ProtoBufInt\", which is an internal module that is used by the generated types.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/haskell:/lts:/7/SLE_12_SP2_Backports/x86_64 |
Hmm ... It's impossible ;-) This RPM doesn't exist on any FTP server
Provides :
ghc-protobuf-simple
ghc-protobuf-simple(x86-64)
libHSprotobuf-simple-0.1.0.2-JdWHt7zx2z04aEoDJ9VnNV-ghc8.0.1.so()(64bit)
Requires :