Skip to content
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

All bytes are equal #241

Closed
blaix opened this issue Mar 16, 2024 · 2 comments
Closed

All bytes are equal #241

blaix opened this issue Mar 16, 2024 · 2 comments

Comments

@blaix
Copy link
Contributor

blaix commented Mar 16, 2024

Looks like a carry-over from elm: elm/bytes#15

> import Bytes.Encode
> a = Bytes.Encode.encode <| Bytes.Encode.string "Byte me"
<7 bytes> : Bytes.Bytes
> b = Bytes.Encode.encode <| Bytes.Encode.unsignedInt8 1
<1 bytes> : Bytes.Bytes
> a == b
True : Bool
@blaix
Copy link
Contributor Author

blaix commented Mar 16, 2024

Oops, this should probably be on https://github.com/gren-lang/core I think?

@blaix
Copy link
Contributor Author

blaix commented Mar 16, 2024

Yep, and it's already there: gren-lang/core#48

@blaix blaix closed this as completed Mar 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant