nh2 / nh2/network-house

Net.Ethernet.Packet not instance of typeclass Unparse

Open
#3 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
13
Forks
7
PR merge metrics
No merged PRs in 30d

Description

Net.Ethernet.Packet is not an instance of typeclass Unparse, but Net.Ethernet contains a function called unparse which presumably does the work of doUnparse on a Net.Ethernet.Packet. Presumably in the background an instance of typeclass Unparse is lurking!

Writing out the instance would uniformize the interface here, and make doUnparse the default interface for unparsing. At the moment, one can't doUnparse a Net.Ethernet.Packet object.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.