The Racket Reference has a section on the notation used in documentations:
https://docs.racket-lang.org/reference/notation.html

But yes, what you said is correct: you are forced to specify every prior
optional positional argument. This is why I think optional positional
arguments are bad in general. Optional keyword arguments are much better.

On Thu, Jun 10, 2021 at 9:03 AM Don Green <infodeveloper...@gmail.com>
wrote:

> Where is the documentation that describes how to interpret the racket
> syntax?
> For example:
> (get-file  (message parent directory ...)) ;where the arg list of options
> are optional but if included are positional meaning that to specify an
> argument such as 'directory' means that the previous 2 args must also be
> specified.
>
> On Thursday, June 10, 2021 at 7:53:53 AM UTC-6 Plane wrote:
>
>> Of course, I meant the third, not fourth. Oops!
>>
>> On Thu, 10 Jun 2021, Crystal Jacobs wrote:
>>
>> > Looking at the docs:
>> >
>> >
>> https://docs.racket-lang.org/gui/Windowing_Functions.html?q=get-file#%28def._%28%28lib._mred%2Fmain..rkt%29._get-file%29%29
>> >
>> > It seems like the second argument is the message shown in the title of
>> the
>> > pop-up window. You can include a path as the fourth argument:
>> >
>> > (get-file #f f "/home/don/projects")
>> >
>> > -Crystal
>>
> --
> 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, send an
> email to racket-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/racket-users/534bb7cb-b646-4cb5-ae7c-6d8c7d476ed2n%40googlegroups.com
> <https://groups.google.com/d/msgid/racket-users/534bb7cb-b646-4cb5-ae7c-6d8c7d476ed2n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/CADcueguEDX-a81MRjBkzPAy0JjLeztxhTKFarfrs6ME8s%3DAeVA%40mail.gmail.com.

Reply via email to