web3-0.9.1.0: Web3 API for Haskell.

CopyrightAlexander Krupenkin 2016
LicenseBSD3
Maintainermail@akru.me
Stabilityexperimental
Portabilitynoportable
Safe HaskellNone
LanguageHaskell2010

Codec.Scale.Skip

Description

This type helps to skip fields in encoded data type.

Synopsis

Documentation

newtype Skip a Source #

This type hide filed from encoding context. It's useful in cases when serialization impossible or not needed. For decoding wrapped type should have Default instance.

Constructors

Skip 

Fields

Instances
Eq a => Eq (Skip a) Source # 
Instance details

Defined in Codec.Scale.Skip

Methods

(==) :: Skip a -> Skip a -> Bool #

(/=) :: Skip a -> Skip a -> Bool #

Ord a => Ord (Skip a) Source # 
Instance details

Defined in Codec.Scale.Skip

Methods

compare :: Skip a -> Skip a -> Ordering #

(<) :: Skip a -> Skip a -> Bool #

(<=) :: Skip a -> Skip a -> Bool #

(>) :: Skip a -> Skip a -> Bool #

(>=) :: Skip a -> Skip a -> Bool #

max :: Skip a -> Skip a -> Skip a #

min :: Skip a -> Skip a -> Skip a #

Show a => Show (Skip a) Source # 
Instance details

Defined in Codec.Scale.Skip

Methods

showsPrec :: Int -> Skip a -> ShowS #

show :: Skip a -> String #

showList :: [Skip a] -> ShowS #

Default a => Default (Skip a) Source # 
Instance details

Defined in Codec.Scale.Skip

Methods

def :: Skip a #

Default a => Decode (Skip a) Source # 
Instance details

Defined in Codec.Scale.Skip

Methods

get :: Get (Skip a) Source #

Encode (Skip a) Source # 
Instance details

Defined in Codec.Scale.Skip

Methods

put :: Putter (Skip a) Source #