[seqfan] Re: 4 tildes?

Harvey P. Dale hpd1 at nyu.edu
Mon May 21 22:09:54 CEST 2012


Russ:

	This is terrific.  Many thanks.  What would you think about one
other special case: 4 tildes surrounded by square brackets?

	Best,

	Harvey
 

-----Original Message-----
From: seqfan-bounces at list.seqfan.eu
[mailto:seqfan-bounces at list.seqfan.eu] On Behalf Of Russ Cox
Sent: Monday, May 21, 2012 3:27 PM
To: Sequence Fanatics Discussion list
Subject: [seqfan] Re: 4 tildes?

I am sorry that ~~~~ has caused so much angst.  It was supposed to be a
potential convenience, to be taken or left depending on the situation.
It sounds like some people are insisting on its use, and I think that's
unfortunate.

The ~~~~ is only recognized at the end of a line, to avoid potential
surprises if used to mean, well, four tildes.  For the most part I think
that heuristic works well.  However, I see Mathematica does have the
problem that it has no end-of-line comment to use (in, say, C, you could
say // ~~~~).  So I added (* ~~~~ *) as a special case.  You can write
(* ~~~~ *) at the end of a line and it will be rewritten appropriately.

Enjoy.
Russ

_______________________________________________

Seqfan Mailing list - http://list.seqfan.eu/



More information about the SeqFan mailing list