Re: trickiness about the order of definitions in GUI code
James Platt <jtp-7O+0j6k2yv/[email protected]> Thu, 7 May 2020 12:31:13 -0400
| Newsgroups | gmane.comp.lang.racket.user,gmane.lisp.scheme.plt |
|---|---|
| Message-ID | <[email protected]> |
On May 7, 2020, at 12:44 AM, Philip McGrath wrote: > Rather than designing an ad hoc system of indirection that can handle all of the complexity,* I suggest using the one that already exists: units, Racket's original, first-class (rather than first-order) module system, offer support for cyclic dependencies. In fact, they are used in the implementation of Racket's GUI framework to address precisely this problem. Thanks. I need to read up on Units. Like I said, my production code is much more complicated than the example I posted so I'm sure that better organization will really help in the long run. James -- 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+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected] To view this discussion on the web visit https://groups.google.com/d/msgid/racket-users/55F53C1D-57FB-4EEF-94FB-AC41AC5A2DBD%40biomantica.com.