Re: [racket-users] snake game

2019-01-23 Thread K H
Hello Or, The language is not "Pretty Big". You should be using "Beginning Student with List Abbreviations". The DrRacket metadata lines referred to by John set the correct language. In your case you must have changed the language somehow. Or perhaps the file needs to be saved before the

Re: [racket-users] snake game

2019-01-23 Thread K H
ink, a bug and a trap (perhaps showstopping) for a new user experimenting with Racket. Note that the Racket executable seems to process the metadata properly, understanding the language to use, etc.. so that the code behaves as intended. On Wed, Jan 23, 2019 at 12:32 PM K H wrote: > Hello Or

Re: [racket-users] Error loading libreadline dll when using readline package

2020-04-09 Thread K H
ill work at all when loaded > into non-Cygwin Racket. It may work better to get another version of > the libreadline DLL from somewhere and drop it into Racket's "lib" > directory. > I'm not sure what to expect in a windows (i.e. non-cygwin) session. Indeed I seem to be experie

[racket-users] Error loading libreadline dll when using readline package

2020-04-09 Thread K H
I'm running on cygwin on Windows 7 and I have the following error when attempting to use the readline package: $ racket -il readline Welcome to Racket v7.6. ffi-lib: couldn't open "libreadline-5.dll" (The specified module could not be found.; errid=126) > ,ex I get the same error either from a

[racket-users] Debugging "stuck-ghost-mouse-button" problems

2020-04-17 Thread K H
Hi all, I'm trying to debug my (Windows7, 2-button trackpad) system, specifically, weird behaviour with the mouse. To help determine what the actual problem is, I wrote a small Racket GUI progam, that surprised me with the following output: object:object:my-frame% type:enter pos:(338,32)

Re: [racket-users] typing variable length argument lists

2020-04-13 Thread K H
If I understand correctly, the difference to getting the code to type check was: > (apply fprintf (cons anomaly (cons message messageargs))) becomes: >(apply fprintf anomaly message messageargs) Since the documentation explains that the arguments to fprintf are effectively

Re: [racket-users] typing variable length argument lists

2020-04-13 Thread K H
s as written. > > However, I think the use of `apply` without the extra `cons` calls is > clearer anyway, in addition to being easier for the type checker. > > Sam > > On Mon, Apr 13, 2020 at 3:22 PM K H wrote: > > > > If I understand correctly, the difference to getti