[seqfan] Re: 4 tildes?

Charles Greathouse charles.greathouse at case.edu
Tue May 22 06:14:05 CEST 2012


I used to write that quite a bit.  But now that we have the new tilde
syntax it's probably best to standardize on - ~~~~ rather than [~~~~].

Charles Greathouse
Analyst/Programmer
Case Western Reserve University

On Mon, May 21, 2012 at 4:09 PM, Harvey P. Dale <hpd1 at nyu.edu> wrote:
> 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/
>
> _______________________________________________
>
> Seqfan Mailing list - http://list.seqfan.eu/



More information about the SeqFan mailing list