From: malte@TechFak.Uni-Bielefeld.DE
To: <rc@hawkwind.utcs.toronto.edu>
Date: Wed, 15 Sep 1993 13:55:36 -0400 [thread overview]
Message-ID: <9309151755.AA07154@dahlie.techfak.uni-bielefeld.de> (raw)
Just because there's some life sign on this list again:
What I really do miss in rc is orthogonality in list operators.
There's a left shift "shift [n]", but no right shift.
I'd like to propose negative shift values to implement this.
There's a simple way to pick some element from a list, but not
to drop one. Maybe we could use negative numbers for that too, e.g.
droppping the fifth element from a list reads "$x(-5)". Then, the
solution to the annoying problem of dropping the last element from
a list is "last = $x(-$#x)"
What do you think of this?
Will it break scripts ( besides already broken ones )?
Malte
reply other threads:[~1993-09-15 17:55 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9309151755.AA07154@dahlie.techfak.uni-bielefeld.de \
--to=malte@techfak.uni-bielefeld.de \
--cc=rc@hawkwind.utcs.toronto.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).