News for hackers. Stuff that matters.
Re:Pyret: A new programming language from the creators of Ra... by wuschel on Saturday November 09, 2013 @10:38AM (#6701875)
Interesting. Could you propose such an extension by posting a code sample e.g. in scheme?
Re:Pyret: A new programming language from the creators of Ra... by ek on Saturday November 09, 2013 @11:15AM (#6702016)
Sure. These are basically simple contracts. Contracts are implemented in Racket: http://docs.racket-lang.org/reference/contracts.html