reasonml / reasonml/reason

No way to call infix => function defined in OCaml

Open
#1,941 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

OCaml->Reason Parser
Dominant language
OCaml
Stars
10.3k
Forks
438
PR merge metrics
No merged PRs in 30d

Description

I'm using an OCaml library that defines the infix operator "=>" from my reason project and I can't figure out how to use it. Is there any way to escape it so that it doesn't get interpreted in the reason way?

I'd be ok if I couldn't use it as an infix in Reason and had to rebind it or something but it would be nice not to have to fork the OCaml library.

Is there some trick I'm missing?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the issue's use of the OCaml infix operator => from a Reason project, then investigate how Reason parses or exposes that operator. Done means the operator can be called without forking the OCaml library, or the supported rebinding or limitation is clearly documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
ocaml
Domain
compilers
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.