capnp-0.2.0.0: Cap'n Proto for Haskell

Safe HaskellNone
LanguageHaskell2010

Data.Capnp.GenHelpers.Pure

Description

This module provides various helpers used by generated code; developers are not expected to invoke them directly.

These helpers are only used by the high-level api. Data.Capnp.GenHelpers defines helpers used by the low-level api.

Synopsis

Documentation

defaultStruct :: (Decerialize a, FromStruct ConstMsg (Cerial ConstMsg a)) => a Source #

A valid implementation for Default for any type that meets the given constraints.