Python syntax in Lisp and Scheme

Tomasz Zielonka t.zielonka at students.mimuw.edu.pl
Fri Oct 3 04:10:11 EDT 2003


mike420 at ziplip.com napisał:
> I think everyone who used Python will agree that its syntax is
> the best thing going for it. It is very readable and easy
> for everyone to learn. But, Python does not a have very good
> macro capabilities, unfortunately.

Well, there is Haskell which also offers indentation-based syntax and
one
of its compilers (GHC) recently added the Template Haskell extension.

This is a statically typed, non-strict, purely functional language with
higher order and polymorphic functions, algebraic datatypes,
type-class based overloading, etc. so it's a BIT different than Python,
but it's worth trying IMO :)

PS. Haskell also allows to use {, } and ; instead of indentation. I
    wonder why Python doesn't.

Best regards,
Tom

-- 
.signature: Too many levels of symbolic links




More information about the Python-list mailing list