Skip to content

Fix printing for constrained infix operator bindings:#478

Merged
1 commit merged intoocaml:trunkfrom
yallop:let-bound-operators
Feb 23, 2016
Merged

Fix printing for constrained infix operator bindings:#478
1 commit merged intoocaml:trunkfrom
yallop:let-bound-operators

Conversation

@yallop
Copy link
Copy Markdown
Member

@yallop yallop commented Feb 22, 2016

This fixes one of many minor problems with the pretty printer (used by -dsource). The code:

   let (++) : _  = (+)

was previously printed as

   let ++ : _  = (+)

   let (++) : _  = (+)

was previously printed as

   let ++ : _  = (+)
ghost pushed a commit that referenced this pull request Feb 23, 2016
Fix printing for constrained infix operator bindings:
@ghost ghost merged commit 69e8fcb into ocaml:trunk Feb 23, 2016
@yallop yallop deleted the let-bound-operators branch February 23, 2016 12:40
@ghost
Copy link
Copy Markdown

ghost commented Feb 23, 2016

Merged in 4.03 as well ( a8498a8 )

chambart pushed a commit to chambart/ocaml-1 that referenced this pull request Jun 22, 2021
Gbury pushed a commit to Gbury/ocaml that referenced this pull request Jun 22, 2021
stedolan added a commit to stedolan/ocaml that referenced this pull request Mar 22, 2022
Adds local allocations (Ialloc Alloc_local) to the backend, as well
as new primitives for region boundaries (Ibeginregion/Iendregion).

In Cmm, instead of explicit Ibeginregion/Iendregion, there is a new
block-structured Cregion.

Since tail calls are supposed to end a region before transferring
control, Cmm also has two new constructs that end a region early:
Capply with Apply_tail, and Ctail (for general code blocks, resulting
from tail calls that have been inlined).
stedolan added a commit to stedolan/ocaml that referenced this pull request May 24, 2022
Adds local allocations (Ialloc Alloc_local) to the backend, as well
as new primitives for region boundaries (Ibeginregion/Iendregion).

In Cmm, instead of explicit Ibeginregion/Iendregion, there is a new
block-structured Cregion.

Since tail calls are supposed to end a region before transferring
control, Cmm also has two new constructs that end a region early:
Capply with Apply_tail, and Ctail (for general code blocks, resulting
from tail calls that have been inlined).
stedolan added a commit to stedolan/ocaml that referenced this pull request May 24, 2022
86526aa flambda-backend: Middle-end support for local allocs (ocaml#491)
969b937 flambda-backend: Backend support for local allocations (ocaml#478)
2d1e6ef flambda-backend: Remove leading space from LINE. (ocaml#484)

git-subtree-dir: ocaml
git-subtree-split: 86526aa
EmileTrotignon pushed a commit to EmileTrotignon/ocaml that referenced this pull request Jan 12, 2024
* Implement custom 404 page

* Revive some Nextjs bindings

* Fix Lang.ofString

* Improve documentation, refactor Redirect component

* Add useRouter to Redirect

* Add FourZeroFour.resi

* Refactor
EmileTrotignon pushed a commit to EmileTrotignon/ocaml that referenced this pull request Jan 12, 2024
This pull request was closed.
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

Successfully merging this pull request may close these issues.

1 participant