-
-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bit arrays don't specify how specify the size with the unit
option
#57
Comments
Hello! This isn't a bug, unit isn't intended to specify size. The linked page does say how to set the size:
|
I do understand that "unit isn't intended to specify size", but what I don't understand is how to specify the size and |
FYI this was taken care of implicitly in another commit:
Thanks! |
Saying
io.debug(<<3:unit(2)>>)
leads to the error:But https://tour.gleam.run/data-types/bit-arrays/ doesn't say how to specify the size as well and every guess I have made for how to do that hasn't worked.
The text was updated successfully, but these errors were encountered: