{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreidkcvusasqmlyolvbeicp3grpdrwjl62lru6xzv4n44u22vhw6l4y",
"uri": "at://did:plc:pi6woz4d47bkuws673w2il2r/app.bsky.feed.post/3mgfct2tdozq2"
},
"path": "/t/changing-the-binary-instance-for-double-and-float/13758#post_19",
"publishedAt": "2026-03-06T08:52:24.000Z",
"site": "https://discourse.haskell.org",
"tags": [
"primitive-serial"
],
"textContent": "I ended up creating primitive-serial for this exact issue. All it does is pull representations out of memory using `peek`, then swap over bytes as needed depending on CPU endianness.",
"title": "Changing the `Binary` instance for `Double` and `Float`"
}