Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] Ocaml 3.07+2: "Illegal backslash escape in string"
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Florian Hars <hars@b...>
Subject: Re: [Caml-list] Ocaml 3.07+2: "Illegal backslash escape in string"
Oliver Bandel wrote:
> Why should I use a double-backslashed sequence?

Because it is correct, as is clearly (if you like *that* kind of clarity) 
documented in an obscure part of the manual (in section 6.1).

The implementation of string literals was fixed in 3.05 to actually follow the 
documented behaviour.

Yours, Florian.

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: