protobuf-0.1.3: src/Data/ProtocolBuffers/Orphans.hs
{-# LANGUAGE DeriveFoldable #-}
{-# LANGUAGE StandaloneDeriving #-}
{-# OPTIONS_GHC -fno-warn-orphans #-}
-- |
-- Messages containing 'Optional' 'Enumeration' fields fail to encode.
-- This module contains orphan instances required to make these functional.
--
-- For more information reference the associated ticket:
-- <https://github.com/alphaHeavy/protobuf/issues/3>
module Data.ProtocolBuffers.Orphans (Foldable) where
import Data.Foldable (Foldable)
import Data.Monoid (Last(..))
deriving instance Foldable Last