[seqfan] Re: 4 tildes?

Russ Cox rsc at swtch.com
Mon May 21 21:27:13 CEST 2012


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



More information about the SeqFan mailing list