Skip to content

Remove skipWithFieldSize #2

Description

@Arthi-chaud

We can't reuse the same code for data that has indirections, and data that doesn't.
Example: skip skipWithFieldSize

We should be able to skip a field with skip, whether there is a FieldSize or not.

Definition of Done

  • Define a Packable, Unpackable, Skippable ADT: WithFieldSize
  • Define a Repr Type function in Packable, which gives the type of the data encoded
    • e.g. `type Repr (WithFieldSize a) = '[FieldSize, a]
  • The skipWithFieldSize does not exist anymore

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions