[racket] Efficient way of providing all but functions that deal with numbers?

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Tue Jun 10 01:28:11 EDT 2014

Unfortunately, no. Most numerical functions are exported by the big
'#%kernel module that exports most everything in the core run-time
system. I'm sure that will change eventually, but we're not there yet.

At Mon, 9 Jun 2014 16:58:57 -0400, Daniel Brady wrote:
> In a previous thread, some of you helped me develop a few macros that
> disallowed number literals in my module language. Now I want to take the
> next step.
> 
> Since I am disallowing numbers, I would not like to carry around all the
> built-in functions that work with them. My naive approach was to create a
> long list of all the built-in number functions like number?, <, and the
> mathematical operators, and simply not provide them. But before I did all
> that tediousness, I wanted to ask if anyone knows of a better way? For
> instance, is there a particular package or series of packages that
> contain(s) all those number methods that I can exclude from my provisions,
> so that I get the effect that I want (which is to have zero support for
> numbers)?
> 
> -- 
> *SEE YOU SPACE COWBOY...*
> ____________________
>   Racket Users list:
>   http://lists.racket-lang.org/users

Posted on the users mailing list.