I checked the relevant spec section and guessed a few tries, but couldn't figure it out. How can I express, for example, the following light syntax recursive let binding using the non-light syntax (on a single line)?
let rec f x = g x
and g x = f x
(let rec f x = g x and g x = f x gives me "Unexpected keyword 'and' in binding. Expected incomplete structured construct at or before this point or other token." unless I turn the light syntax off, as @Ramon Snir suggested, but surely there is a way to do this while the light syntax is on?)
let rec f x = g x and g x = f xjust fine (after#light "off") and compiled correctly. - Ramon Snirin,begin,endand brackets around. - Stephen Swensen