Re: [racket] polymorphic functions

2012-10-13 Thread Răzvan Rotaru
Hi, > ad hoc polymorphism, aka generics (the better word to avoid confusion): if you want (length '(1 2 4)) == (length "123") == (length (vector 1 2 3)), > then the historical response is that such functions violates the carefully chosen middl ground of Scheme, which wants the readers (of code) to

[racket] Keyboard key state

2012-10-13 Thread Laurent
Hi, Is there a way to get the state map of the keyboard, i.e., to know if some key is pressed or released, independently of any key-event? Also, is there a way to know if the num-lock, caps-lock and scroll-lock states are on or off? Thanks, Laurent Racket Users list: htt