From: Jens Axel Søgaard (jensaxel at soegaard.net) Date: Sat Apr 28 12:16:29 EDT 2007 |
|
Robby Findler skrev: > Yeah, that's supposed to happen. "any" is a local keyword for -> and > only works in the range position. Use it when you want to make sure > your function remains tail-recursive. The actual any contract is > any/c, so you wanted this, I think: > > (provide/contract [empty? (-> any/c boolean?)]) I suppose that means the any version is faster than the any/c ? -- Jens Axel Søgaard
Posted on the users mailing list. |
|