haskell-distributed / haskell-distributed/distributed-process
[NT-6] Serialize instance for EndpointAddress
Nobody has claimed this yet.
- Dominant language
- Haskell
- Stars
- 751
- Forks
- 99
- Avg merge
- 45m
- Merged PRs (30d)
- 2
Description
[Imported from JIRA. Reported by Rob Stewart @robstewartuk) as NT-6 on 2013-03-15 20:01:46]
There is an instance for Binary from the binary package, for EndPointAddress:
https://github.com/haskell-distributed/network-transport/blob/master/src/Network/Transport.hs#L132
It would be good to also have an instance for Serialize, for those users who use the cereal package for binary serialization. I might offer a merge request if I get time to do it and test it.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the existing Binary instance for EndpointAddress in src/Network/Transport.hs around line 132, then locate the corresponding serialization code in this repository. Check how cereal Serialize instances are defined and tested elsewhere. Done means EndpointAddress also supports Serialize with tests covering its serialization behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- haskell
- Domain
- distributed-systems
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100