[EMAIL PROTECTED] wrote:
I would also like to see these. I like the python syntax
stuff...
but really most anything will do.
the triple quote doesn't eat any usable syntax though and
won't require
any special cases in the parser so I would much prefer something like
that.
Would
John Meacham [EMAIL PROTECTED] writes:
I would also like to see these. I like the python syntax
stuff...
but really most anything will do.
And if we want to embed python code?
-Matthias
___
Haskell-prime mailing list
On 2006-09-24 at 01:59BST Neil Mitchell wrote:
As a side note, perhaps if you're shoving massive amounts of text into
a Haskell source file you want to either move to something more
structured (like haskell source extensions),
IIRC the original problem was MySQL statements, which really
call
* Ian Zimmerman:
Here's a quick test: put the cursor in front of a triple-quoted string,
then hit Control-Alt-F (forward-sexp). It should move just after the
whole string. Does it?
As long as there are no embedded double quotes in the string, it does.
Version 4.78 mishandles the embedded
On Fri, Sep 22, 2006 at 12:39:34PM -0400, Ian Zimmerman wrote:
If you do this at all, reuse the regular quotes, don't invent yet
another weird and wonderful lexical syntax. Haskell is already bad
enough that way, with \ used for lambda and so on. @ would be okay I
guess.
Why not just go the
I would also like to see these. I like the python syntax
stuff...
but really most anything will do.
the triple quote doesn't eat any usable syntax though and won't require
any special cases in the parser so I would much prefer something like
that.
John
--
John Meacham -
Ian If you do this at all, reuse the regular quotes, don't invent yet
Ian another weird and wonderful lexical syntax. Haskell is already bad
Ian enough that way, with \ used for lambda and so on. @ would be
Ian okay I guess.
John Why not just go the Python way and use ? That is, three
John
On Fri, Sep 22, 2006 at 09:30:50PM -0400, Ian Zimmerman wrote:
John Why not just go the Python way and use ? That is, three
John literal quotes at the beginning and end. After all, Python has
John lifted quite a few things from Haskell. Time to return the
John favor. ;-)
Because it
John python-mode actually handles Python syntax a lot better than
John haskell-mode handles Haskell syntax, particularly regarding
John indentation.
Automatic indentation is only one aspect of Emacs modes, and as far as I
am concerned not nearly the most important one.
Here's a quick test: put
On 22 Sep 2006 23:54:42 -0400, Ian Zimmerman [EMAIL PROTECTED] wrote:
Here's a quick test: put the cursor in front of a triple-quoted string,
then hit Control-Alt-F (forward-sexp). It should move just after the
whole string. Does it?
Any tool which assumes strings are delimited by a single
Alistair In order to produce one double-quote inside a double-quote
Alistair delimited string, many (most?) languages let you use two
Alistair adjacent double quotes. So a string starting with triple
Alistair double-quote would result in a string that has one double
Alistair quote as its first
On Fri, Sep 22, 2006 at 11:54:42PM -0400, Ian Zimmerman wrote:
John indentation.
Automatic indentation is only one aspect of Emacs modes, and as far as I
am concerned not nearly the most important one.
Here's a quick test: put the cursor in front of a triple-quoted string,
then hit
Hi
Any tool which assumes strings are delimited by a single front delimiter
and a single end delimiter, which they are in most reasonable languages,
will have trouble.
In current haskell any tool which assumes characters start and end
with a ' are also wrong, because you can have name' as a
On Fri, Sep 22, 2006 at 01:45:56PM +0100, Alistair Bayley wrote:
Apologies if this has been covered already... I've searched the
haskell-prime list archive and not found anything on this.
I'd like to submit a request for a fairly trivial feature: multi-line
text literals in source, AKA
Alistair Apologies if this has been covered already... I've searched
Alistair the haskell-prime list archive and not found anything on this.
Alistair I'd like to submit a request for a fairly trivial feature:
Alistair multi-line text literals in source, AKA here-docs. You know,
Alistair like the
15 matches
Mail list logo