From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29179 invoked from network); 29 Jun 2000 11:39:51 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 29 Jun 2000 11:39:51 -0000 Received: (qmail 10152 invoked by alias); 29 Jun 2000 11:39:27 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 12124 Received: (qmail 10145 invoked from network); 29 Jun 2000 11:39:22 -0000 Date: Thu, 29 Jun 2000 12:38:54 +0100 From: Peter Stephenson Subject: function declaration syntax To: zsh-workers@sunsite.auc.dk (Zsh hackers list) Message-id: <0FWW00BT0Z0U9D@la-la.cambridgesiliconradio.com> Content-transfer-encoding: 7BIT Did anybody notice that according to the manual (and the reference card, which was how I noticed) this was supposed to work? % fn() print foo # Looks like it worked... % which fn fn() { print foo } # but it doesn't. % fn % Either we should fix it or remove it. -- Peter Stephenson Cambridge Silicon Radio, Unit 300, Science Park, Milton Road, Cambridge, CB4 0XL, UK Tel: +44 (0)1223 392070