More functions on binaries #191

Open
opened 2019-12-09 21:03:35 +09:00 by zxq9 · 3 comments
zxq9 commented 2019-12-09 21:03:35 +09:00 (Migrated from gitlab.com)

Created by: UlfNorell

From the Sophia discussion at the Sofia Workshop.

Matching on individual bytes?

*Created by: UlfNorell* *From the Sophia discussion at the Sofia Workshop.* Matching on individual bytes?
zxq9 commented 2019-12-09 21:08:29 +09:00 (Migrated from gitlab.com)

Created by: UlfNorell

It's not clear to me what the use case is here. @thepiwo? It might be better addressed by #176 and using strings.

It would be straightforward to add Bytes.at : (bytes(_), int) => int to the compiler without changing the VM though.

*Created by: UlfNorell* It's not clear to me what the use case is here. @thepiwo? It might be better addressed by #176 and using strings. It would be straightforward to add `Bytes.at : (bytes(_), int) => int` to the compiler without changing the VM though.
zxq9 commented 2019-12-09 21:11:39 +09:00 (Migrated from gitlab.com)

Created by: thepiwo

The idea would be to do erlang-style binary pattern matching, or simply have functionality to split bytes more dynamic.

*Created by: thepiwo* The idea would be to do erlang-style binary pattern matching, or simply have functionality to split bytes more dynamic.
zxq9 commented 2019-12-09 22:06:05 +09:00 (Migrated from gitlab.com)

Created by: UlfNorell

Summon UseCase Man

*Created by: UlfNorell* *Summon UseCase Man*
Sign in to join this conversation.
No Milestone
No project
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: QPQ-AG/sophia#191
No description provided.