From: Anthony Sorace <a@9srv.net>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] rc: fn name @{block}
Date: Fri, 30 Mar 2012 12:50:17 -0400 [thread overview]
Message-ID: <78F3360A-4088-4CF9-AE38-232CC528D0F6@9srv.net> (raw)
In-Reply-To: <CAG3N4d-pChG=FhQ4zPOGxqdmiqEm2omg+5YuvG3MjPE2OKEUeA@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 501 bytes --]
On Mar 30, 2012, at 12:19 , Yaroslav wrote:
>>> term% fn x @{x=y}
>>> term% whatis x
>>> fn x {x=y}
>>
>> creates to functions x and '@' definition {x=y}.
>
> The question is why it discards @ here?
Erik's point is that rc isn't discarding it. You have a list. It sets x
equal to that function, then sets @ equal to that same function.
: iota; fn x @{x=y}
: iota; whatis x
fn x {x=y}
: iota; whatis '@'
fn @ {x=y}
When you quote the 'x @', that whole thing becomes one word.
[-- Attachment #2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 210 bytes --]
next prev parent reply other threads:[~2012-03-30 16:50 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CAG3N4d81u5p-WVz5aXnjGE8ON5BMd-AEr0xRMjP+Ug4G9Db=UA@mail.gmail.c>
2012-03-30 12:52 ` erik quanstrom
2012-03-30 15:48 ` erik quanstrom
2012-03-30 15:56 ` Yaroslav
[not found] ` <CAG3N4d_5f97O85mwGnrawwiGQAPN+K6CTQ0vbpk2EexkpbH0qg@mail.gmail.c>
2012-03-30 16:01 ` erik quanstrom
2012-03-30 16:19 ` Yaroslav
2012-03-30 16:50 ` Anthony Sorace [this message]
2012-03-30 17:08 ` Yaroslav
2012-03-30 11:43 Yaroslav
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=78F3360A-4088-4CF9-AE38-232CC528D0F6@9srv.net \
--to=a@9srv.net \
--cc=9fans@9fans.net \
/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).