this post was submitted on 20 Jun 2023
4 points (100.0% liked)
Haskell
65 readers
3 users here now
**The Haskell programming language community.** Daily news and info about all things Haskell related: practical stuff, theory, types, libraries, jobs, patches, releases, events and conferences and more... ### Links - Get Started with Haskell
founded 1 year ago
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I like the discussion, but I'm not sold on the solution :).
In particular, the {n+1} bit is not immediatly clear to me, it seems like the number of original number of bits is increasing hah!
Good point. I was thinking of transformation that preserve the length of the bitstring like if you're dealing with a type like
Word64
. Otherwise perhaps you could be more specific about it like this: