Skip to content

Generically instance #191

@Icelandjack

Description

@Icelandjack

Reminder to add an instance for Generically (base 4.17) by copying the default definitions

instance (Generic a, GBinaryPut (Rep a), GBinaryGet (Rep a)) => Binary (Generically a) where
  put :: Generically a -> Put
  put (Generically a) = gput (from a)

  get :: Get (Generically a)
  get = Generically . to <$> gget

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions