News for hackers. Stuff that matters.
Re:Pyret – A language exploring scripting and functional pro... by justinpombrio on Thursday December 15, 2016 @12:12PM (#13186165)
The type annotations are optional, so you can write:

    fun square(n):
      n * n
    end
In fact, I believe the major motivation for making the type system optional was to not force beginning students to write types.

There are no comments on this comment yet.