Re: [racket-users] Function that potentially can return more than one value

2020-05-27 Thread Jens Axel Søgaard
Den ons. 27. maj 2020 kl. 19.27 skrev George Neuner : > > On 5/27/2020 6:34 AM, Jens Axel Søgaard wrote: > > > > In standard Racket an application doesn't communicate how many values > > a function is expected to produce. > > You can ask: see procedure-result-arity >

Re: [racket-users] Testing for Packages

2020-05-27 Thread George Neuner
On 5/26/2020 10:36 PM, Robert Postill wrote: Inspired by the reply to https://stackoverflow.com/questions/62014612/how-to-test-a-racket-package-self-sufficiently, I decided to ask the question here.  So a little background to the discussion.  I've been looking at a racket package, and the

[racket-users] How to make DrRacket interactions window use the same reader as the definitions window?

2020-05-27 Thread Thomas Dickerson
I'm working on #lang with a custom reader (via read-table extension), that among other things, defines custom syntax for duodecimal numbers. My reader is working great in the definitions window / when I hut "Run" in DrRacket, and the top of the interaction window shows the name of my #lang,

Re: [racket-users] coding style query

2020-05-27 Thread Jens Axel Søgaard
Den ons. 27. maj 2020 kl. 19.56 skrev Hendrik Boom : > Is there an accepted convention about how to use a symbol used in a > program within a comment so it's clear the comment is using it as a > program symbol and not as an ordinary English word? > Not sure. Sometimes I surround the symbol with

[racket-users] How can source-omit-files exclude a directory?

2020-05-27 Thread Ryan Kramer
I have a multi-collection package and I wanted to exclude a certain directory (plisqin-test) from being a package. I found the relevant documentation here: https://docs.racket-lang.org/pkg/strip.html. The first thing I tried was simply adding a `~` to the end of the directory. This worked.

Re: [racket-users] Function that potentially can return more than one value

2020-05-27 Thread George Neuner
On 5/27/2020 6:34 AM, Jens Axel Søgaard wrote: In standard Racket an application doesn't communicate how many values a function is expected to produce. You can ask:  see procedure-result-arity     https://docs.racket-lang.org/reference/procedures.html I have written a small

[racket-users] coding style query

2020-05-27 Thread Hendrik Boom
Is there an accepted convention about how to use a symbol used in a program within a comment so it's clear the comment is using it as a program symbol and not as an ordinary English word? -- hendrik -- You received this message because you are subscribed to the Google Groups "Racket Users"

Re: [racket-users] coding style query

2020-05-27 Thread Laurent
I use markdown syntax for that: The function `function` functions like `functions` but for a single function `proc`. I've seen others use `function' instead. On Wed, May 27, 2020 at 7:04 PM Jens Axel Søgaard wrote: > Den ons. 27. maj 2020 kl. 19.56 skrev Hendrik Boom >: > >> Is there an

Re: [racket-users] Function that potentially can return more than one value

2020-05-27 Thread George Neuner
On 5/27/2020 1:50 PM, Jens Axel Søgaard wrote: Den ons. 27. maj 2020 kl. 19.27 skrev George Neuner mailto:gneun...@comcast.net>>: On 5/27/2020 6:34 AM, Jens Axel Søgaard wrote: > > In standard Racket an application doesn't communicate how many values > a function is

[racket-users] Finite state machine

2020-05-27 Thread Med Ra
Dear All, i'm a new member in the group and also a debutante in racket programming and i will be happy if you read and understand what i'm asking . I want create a finite state machine to represent an hotel room booking system. first , i have created the FSM Scheme as the following : about