[racket] Type of argument in a function

From: קוראל אלימלך (coral2301 at gmail.com)
Date: Sun Jul 20 07:04:39 EDT 2014

How can i define that a function will get an integer argument?

is its possible?

for example:
(define (func (x::Number))) /// its not working that way

and if ill call the function with string there will be an error..
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20140720/f606ee9b/attachment-0001.html>

Posted on the users mailing list.