ocaml icon indicating copy to clipboard operation
ocaml copied to clipboard

Disallow splices in right-hand side of `let rec`

Open OlivierNicole opened this issue 7 years ago • 0 comments

We want to avoid:

# macro m x = << let rec g = $(x << g >>) in g >>;;
macro m : ('a expr -> 'a expr) -> 'a expr = <fun>
# m (fun y -> y);;;
- : 'a expr = << let rec g_2 = g_2  in g_2 >

OlivierNicole avatar Nov 22 '16 17:11 OlivierNicole