Skip to content

Bitwise operators #7009

Closed
Closed

Description

@soanvig

Rescript lacks support for bitwise operators: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators#binary_bitwise_operators

I found: #5176 marked as completed

But I don't see anything in the docs or the source code

Activity

  1. mununki commented on Sep 5, 2024

    @mununki
    Member
  2. soanvig commented on Sep 5, 2024

    @soanvig
    Author

    Thank you very much.

    There I think pervasives is not documented anywhere on the rescript page, am I right? Can't find them in API ref.

  3. fhammerschmidt commented on Sep 5, 2024

    @fhammerschmidt
    Member

    That's deliberate, Pervasives will be removed so the bitwise functions from there should probably just go to https://rescript-lang.org/docs/manual/latest/api/core/int

  4. cometkim commented on Sep 5, 2024

    @cometkim
    Member

    @cknitt Should we leave it at #6984? I think we'll eventually have to introduce operators with a JS-like syntax.

  5. self-assigned this
    on Mar 23, 2025
  6. cometkim commented on Mar 23, 2025

    @cometkim
    Member

    #7171 and #7172 will be done in v12

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions