Skip to content

Commit 76ac20e

Browse files
gpetiotjonludlam
authored andcommitted
Replace let>> with >>>
1 parent 46b4c45 commit 76ac20e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/syntax.ml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ module Reader = struct
130130
consume ()
131131

132132
module Infix = struct
133-
let ( let>> ) consume if_token =
133+
let ( >>> ) consume if_token =
134134
match consume with
135135
| `End (ret, loc) -> (ret, loc)
136136
| `Token t -> if_token t
@@ -1250,7 +1250,7 @@ and explicit_list_items :
12501250
which is consumed. *)
12511251
and light_table ~parent_markup ~parent_markup_location input =
12521252
let rec consume_rows acc ~last_loc =
1253-
let>> next_token = Reader.until_rbrace input acc in
1253+
Reader.until_rbrace input acc >>> fun next_token ->
12541254
match next_token.Loc.value with
12551255
| `Bar | #token_that_always_begins_an_inline_element -> (
12561256
let next, row, last_loc =
@@ -1315,7 +1315,7 @@ and light_table_row ~parent_markup ~last_loc input =
13151315
which is consumed. *)
13161316
and heavy_table ~parent_markup ~parent_markup_location input =
13171317
let rec consume_rows acc ~last_loc =
1318-
let>> next_token = Reader.until_rbrace input acc in
1318+
Reader.until_rbrace input acc >>> fun next_token ->
13191319
match next_token.Loc.value with
13201320
| `Begin_table_row as token ->
13211321
junk input;
@@ -1340,7 +1340,7 @@ and heavy_table ~parent_markup ~parent_markup_location input =
13401340
which is consumed. *)
13411341
and heavy_table_row ~parent_markup input =
13421342
let rec consume_cell_items acc =
1343-
let>> next_token = Reader.until_rbrace input acc in
1343+
Reader.until_rbrace input acc >>> fun next_token ->
13441344
match next_token.Loc.value with
13451345
| `Begin_table_header as token -> (
13461346
junk input;
@@ -1379,7 +1379,7 @@ and heavy_table_row ~parent_markup input =
13791379
which is consumed. *)
13801380
and heavy_table_header ~parent_markup input =
13811381
let rec consume_items acc =
1382-
let>> next_token = Reader.until_rbrace input acc in
1382+
Reader.until_rbrace input acc >>> fun next_token ->
13831383
match next_token.Loc.value with
13841384
| `Begin_paragraph_style style as token ->
13851385
junk input;

0 commit comments

Comments
 (0)