Re: [racket-users] How to discover a struct's interface without Dr Racket?

2021-10-29 Thread Siddhartha Kasivajhula
I was able to find this interface , but it doesn't quite provide the same information. E.g. (struct-type-info struct:foo) The ability to "introspect" values in a shell (or in the

Re: [racket-users] How to discover a struct's interface without Dr Racket?

2021-10-29 Thread Brian Beckman
Well, as I understand it, a struct (usually? always?), #:transparent or not, when declared, defines symbols that are meant to be visible in the current scope, so (struct foo (a b)) defines foo #|constructor|#, foo? #|instance-predicate|# foo-a and foo-b #|data accessors|# , that I can call on

Re: [racket-users] How to discover a struct's interface without Dr Racket?

2021-10-29 Thread 'John Clements' via Racket Users
In the text below, you refer to the “public” interface. Can I ask what you mean by “public” in this context? John > On Oct 29, 2021, at 11:16 AM, Brian Beckman wrote: > > I believe that run time will be the most plausible use case. I may write > macros that refer to struct-procedure names at

[racket-users] Re: How to discover a struct's interface without Dr Racket?

2021-10-29 Thread Brian Beckman
I believe that run time will be the most plausible use case. I may write macros that refer to struct-procedure names at macro-writing time, but I don't expect to invoke the struct procedures at macro-expansion time. My primary issue is "discoverability:" how can I find out the interface of any

[racket-users] Trends in Functional Programming in Education 2022 call for submissions

2021-10-29 Thread 'Elena Machkasova' via Racket Users
TFPIE 2022 Call for papers https://wiki.tfpie.science.ru.nl/TFPIE2022 (February 11th 2022, Krakow, Poland co-located with TFP 2022 and Lambda Days) TFPIE 2022 welcomes submissions describing techniques used in the classroom, tools used in and/or developed for the classroom and any creative use

[racket-users] Call for Contributions: BOB 2022 [March 11, Deadline Dec 6]

2021-10-29 Thread Michael Sperber
Send us some proposals for Racket talks! BOB Conference 2022 "What happens when we use what's best for a change?" http://bobkonf.de/2022/cfc.html