A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2002-February/020055.html below:

[Python-Dev] syntactic sugar idea for {static,class}methods

[Python-Dev] syntactic sugar idea for {static,class}methods [Python-Dev] syntactic sugar idea for {static,class}methodsPaul Prescod paul@prescod.net
Wed, 13 Feb 2002 09:33:56 -0800
Gareth McCaughan wrote:
> 
>...
> 4. Generalizes to a sequence of transformations.

For me, this is crucial. A future version of Spark would probably put
its parse annotations in the parens. Various type checking systems would
probably do the same:

    def t_whitespace(self, s)[
		grammar(r' \s+'), 
		type(Node)]:
        pass

This is going to happen so we need to be confident that we like this use
of the syntax. I've been waiting for something like this for a while.

 Paul Prescod



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4