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

Turn atoms int.eq, string.eq, float.eq, bool.eq, and char.eq into objects #504

Closed
yegor256 opened this issue Dec 19, 2021 · 2 comments · Fixed by #532
Closed

Turn atoms int.eq, string.eq, float.eq, bool.eq, and char.eq into objects #504

yegor256 opened this issue Dec 19, 2021 · 2 comments · Fixed by #532
Assignees

Comments

@yegor256
Copy link
Member

All these atoms (int.eq, string.eq, float.eq, bool.eq, char.eq) but become objects and should use as-bytes.eq. For example, int.eq may be implemented as:

[] > int
  [x] > eq
    ^.as-bytes.eq (x.as-bytes)

"Type" information will be lost. Thus, this will be true:

1.eq TRUE

And this:

"hello".eq 68-65-6C-6C-6F
@yegor256
Copy link
Member Author

@andreoss I'm sure you can do this, please

@yegor256 yegor256 changed the title int.eq, string.eq, float.eq, bool.eq Turn atoms int.eq, string.eq, float.eq, bool.eq, and char.eq into objects Dec 19, 2021
andreoss added a commit to andreoss/eo that referenced this issue Dec 24, 2021
andreoss added a commit to andreoss/eo that referenced this issue Dec 24, 2021
andreoss added a commit to andreoss/eo that referenced this issue Dec 24, 2021
andreoss added a commit to andreoss/eo that referenced this issue Dec 25, 2021
andreoss added a commit to andreoss/eo that referenced this issue Dec 26, 2021
andreoss added a commit to andreoss/eo that referenced this issue Dec 27, 2021
@0crat
Copy link

0crat commented Jan 17, 2022

@andreoss/z resigned from #504, since the job is not in scope anymore

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants