2007/10/23, Justin Bailey <[EMAIL PROTECTED]>:
>
> My two cents - I haven't found another language that handles heredocs as
> nicely as Ruby does.
>
Perl Heredocs do the same things and predates Ruby's (at least they do
all you described and a bit more).
But what would be really nice is a way to
On 10/22/07, Neil Mitchell <[EMAIL PROTECTED]> wrote:
>
> If this now reports no errors, who wants to guess which come up as
> escape codes, and which don't. The way other languages like C# have
> dealt with this is by introducing a new type of quoted string:
>
> @":\/"
The C# implementation is r
On Mon, 2007-10-22 at 17:12 +0100, Neil Mitchell wrote:
> Hi
>
> I can see problems with this. This comes up when typing windows file path's:
>
> "C:\path to my\directory\boo"
>
> If this now reports no errors, who wants to guess which come up as
> escape codes, and which don't. The way other la
Hi
I can see problems with this. This comes up when typing windows file path's:
"C:\path to my\directory\boo"
If this now reports no errors, who wants to guess which come up as
escape codes, and which don't. The way other languages like C# have
dealt with this is by introducing a new type of quo
I've just been annoyed with errors ghc reports when I use a string literal
such as ":\/:" (which is a contructor in darcs). Of course, it wants
":\\/:", but I'd rather type the former. Is there any reason why the
language couldn't be modified (e.g. in haskell') to make the former legal?
i.e. to t