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 i

[racket-users] Historical note.

2020-11-08 Thread Hendrik Boom
On Sun, Nov 08, 2020 at 12:47:11PM -0800, unlimitedscolobb wrote: > Thank you for you answer! I'll need to think more about it. The idea of > having structs whose fields contain functions has never occurred to me, but > it may actually fit my relatively simple use case (and the planned > migra

[racket-users] Re: Generics vs. Classes?

2020-11-08 Thread unlimitedscolobb
Thank you for you answer! I'll need to think more about it. The idea of having structs whose fields contain functions has never occurred to me, but it may actually fit my relatively simple use case (and the planned migration to Typed Racket). - Sergiu On Sunday, November 8, 2020 at 8:22:16 PM

[racket-users] Re: Generics vs. Classes?

2020-11-08 Thread jackh...@gmail.com
The typical use case for classes in Racket is writing GUIs, and that's mostly because the GUI framework is class based. For most other use cases, generics are a better choice than classes. They're simpler and have a less intrusive effect on your API surface. If you don't need to support arbitra

[racket-users] Re: Compiler Construction (CC) 2021 - Call for Papers

2020-11-08 Thread delphine...@gmail.com
ACM SIGPLAN 2021 International Conference on Compiler Construction (CC 2021) Co-located with CGO, HPCA and PPoPP Tue 2 - Wed 3 March 2021 https://conf.researchr.org/home/CC-2021 CALL FOR PAPERS The International Conference on Compiler Construction (CC) is interested in work on processing programs

[racket-users] Generics vs. Classes?

2020-11-08 Thread unlimitedscolobb
Hi, A general knowledge question: what would be the typical use cases of Racket generics vs. the typical use cases of Racket classes? Am I correct in assuming that I can do everything with classes what I could do with generics, and that generics have made their way into the language before the