Re: [racket-users] Equivalent of exec

2021-08-04 Thread Kieron Hardy
> started as a quick experiment with scsh a number of years ago, I’m surprised no one has mentioned Rash so I will ... perhaps Rash will be a useful tool for you ... https://docs.racket-lang.org/rash/ “2 Rash Guide ... Rash is a shell language embedded in Racket. “ https://rash-lang.org/

Re: [racket-users] Historical note.

2020-11-08 Thread Kieron Hardy
> On Nov 8, 2020, at 2:58 PM, Hendrik Boom wrote: > >> On Sun, Nov 08, 2020 at 12:47:11PM -0800, unlimitedscolobb wrote: >> The idea of having structs whose fields contain functions has never occurred >> to me ... > > Historical note: > > I first encountered structures containing function

Re: [racket-users] scribble: how to put a bar above text?

2020-06-16 Thread Kieron Hardy
FYI: As of Windows 10, you can install a full Linux distro in/on Windows. Here are the instructions: https://docs.microsoft.com/en-us/windows/wsl/install-win10 > On Jun 16, 2020, at 11:39 AM, Jos Koot wrote: > > Hi, > Thanks for your prompt reply. > I’ll first look into Mathjax. It’s on

Re: [racket-users] Re: Gracket format

2019-08-28 Thread Kieron Hardy
> >> What version of Windows? >> > > MacOS 10.14.6 :) Mac, huh? I didn’t know Gracket was needed there. Sorry, I’m no help. -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it,

Re: [racket-users] Gracket format

2019-08-28 Thread Kieron Hardy
Hi Mark, How are you starting your program? Are you launching Racket from a command line or launching by e.g. double-clicking an icon in the Windows window manager? What version of Windows? Cheers, Kieron > On Aug 28, 2019, at 5:44 AM, Mark Bestley wrote: > > I am just learning racket

Re: [racket-users] snake game

2019-01-24 Thread Kieron Hardy
check-expect: undefined; > cannot reference an identifier before its definition > > Any idea ? > > Thanks, > Or > > > > > >> On Wednesday, January 23, 2019 at 10:49:01 PM UTC+2, Kieron Hardy wrote: >> It seems the metadata lines added by DrRacket (ment

[racket-users] Resubmitting PRs after build problems

2018-03-28 Thread Kieron Hardy
Hi all, I have noticed that some recent PRs have failed the Travis CI build step seemingly due to unrelated, perhaps infrastructure-y, problems. e.g. The PR I submitted, via a Github edit that fixes a typo in a comment, failed the tests on one target with a tcp-connect timeout error (errno=60).

[racket-users] error during prompt calculation: path->string: contract violation

2018-03-20 Thread Kieron Hardy
Hello all, On Windows, I noticed that Racket's initialization file is incorrectly set to %HOMEDIRVE%\%HOMEPATH%\.racketrc.rktl $ grep 'WINDOWS_INIT_FILENAME' -r . ./racket-master/racket/src/gracket/grmain.c:#define WINDOWS_INIT_FILENAME "%%HOMEDIRVE%%\\%%HOMEPATH%%\\gracketrc.rktl"

Re: [racket-users] The Little Schemer, misprint?

2017-02-25 Thread Kieron Hardy
ontext of the call to member) --- not just the meaning of the application > (null? lat) > > Hope this helps > > >> On Sat, Feb 25, 2017 at 11:17 AM, Kieron Hardy <kieron.ha...@gmail.com> >> wrote: >> I'm going through The Little Schemer (Fourth Editio

[racket-users] The Little Schemer, misprint?

2017-02-25 Thread Kieron Hardy
I'm going through The Little Schemer (Fourth Edition). On page 23 the first question posed asks: What is the meaning of the line ((null? lat) #f) where lat is (mashed potatoes and meat gravy) The printed explanation seems to be a misprint as it appears to be the answer to a different

[racket-users] Exception handling on cygwin/windows

2016-11-17 Thread Kieron Hardy
The code for 'signal handling' with racket at Rosetta Code: #lang racket (define now current-milliseconds) (define start (now)) (with-handlers ([exn:break? (λ(x) (define elapsed (/ (- (now) start) 1000.)) (displayln (~a "Total time: "

Re: [racket-users] Racket Shell

2016-09-21 Thread Kieron Hardy
I've been experimenting with 'shell/pipeline' on windows and post some tests and example results here in case they are of use to others: - basic examples demonstrating windows external commands, - basic examples demonstrating windows internal commands with standard cmd.shell, - basic examples

Re: [racket-users] Re: Running racket on a #lang-less module-less file?

2016-05-07 Thread Kieron Hardy
+1 Yes, specifying the language to use when interpreting some source, is best in the input source itself than in the reference to that source. But why must it be one or the other, and not some sensible combination of both. e.g. If the #lang is absent from the source, look for and/or override