Guido rejecting your awesome syntactic proposals? He's not in charge anymore.
With Haskell's syntax but none of its type system, dg is the best way to make fans of static typing shut up already.
Syntactic sugar is the most important thing nowadays. And don't let those Java guys tell you otherwise.
Read this awesome tutorial and tell everyone how impossibly smart you are.
Got to wait for a JIT-enabled PyPy 3.3 first, though.
A programming language that compiles to CPython bytecode, much like Scala compiles to JVM's. That essentially means that dg is an alternative syntax for Python 3. It allows you to use all of the existing libraries, too.
import '/sys/stdin' IOTools = subclass object where #: Compute the average line length of a file. #: #: avglen :: TextIOBase -> NoneType #: avglen = staticmethod $ fd -> lengths = list $ map len fd count = len lengths total = sum lengths print 'Average line length:' $ if count > 0 => total / count otherwise => 0 IOTools.avglen stdin
git clone https://github.com/pyos/dg.git
this zip archive