gogol-core-0.0.1: Core data types and functionality for Gogol libraries.

Copyright(c) 2015 Brendan Hay <brendan.g.hay@gmail.com>
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityprovisional
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Prelude

Contents

Description

 

Synopsis

Documentation

_Coerce :: (Coercible a b, Coercible b a) => Iso' a b Source

_Default :: Monoid a => Iso' (Maybe a) a Source

Invalid Iso, should be a Prism but exists for ease of composition with the current 'Lens . Iso' chaining to hide internal types from the user.

class GoogleRequest a where Source

Associated Types

type Rs a :: * Source

Types

mapping :: (Functor f, Functor g) => AnIso s t a b -> Iso (f s) (g t) (f a) (g b)

This can be used to lift any Iso into an arbitrary Functor.

Serialisation

Isos

_Coerce :: (Coercible a b, Coercible b a) => Iso' a b Source

_Default :: Monoid a => Iso' (Maybe a) a Source

Invalid Iso, should be a Prism but exists for ease of composition with the current 'Lens . Iso' chaining to hide internal types from the user.