News for hackers. Stuff that matters.
Re:Type checking in Python by xiaq on Monday May 19, 2014 @01:09PM (#7768516)
Fully typing variadicity in Python is only possible with dependent typing, since Python allows you to build the argument list dynamically. Generally speaking you can't even determine the number of arguments statically:

    args = []
    while some_condition():
        args.append('x')
    f(*args)
Typed Racket allows you type some common cases, though.

There are no comments on this comment yet.