On Nov 16, 4:54 pm, Steve Ferg <steve.ferg.bitbuc...@gmail.com> wrote:
> I've often thought that a language with this kind of block-free syntax
> would be nice and intuitive:
>
>     if <condition> then
>         do stuff
>     elif <condition> then
>         do stuff
>     else
>         do stuff
>     endif
>
> Note that you do not need block delimiters.

GAP uses almost exactly this syntax, but with 'fi' instead of 'endif':

http://www.gap-system.org/Manuals/doc/htm/ref/CHAP004.htm#SECT016

Mark
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to