Just spitballing here, trying to start with "what's the simplest possible thing that could work?":
You could let the user flag a field as the event. I don't know your surface syntax, but maybe using an `#:as-evt` keyword would be OK? You could link/refer the user to the `prop:evt` docs, or, copypasta the relevant bullet points. (~= "the field must be an event?, or, a procedure that takes an instance of the struct, yada yada..."). `never-evt` is a reasonable default value if the user hasn't generated any. Unless you think `always-evt` would be. :) IIUC this is a struct _type_ property, so it won't waste space per-struct to specify `#:prop:evt never-evt` as the default. I think. p.s. While you "have the hood open", you might also want to do something similar for `prop:procedure`? -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/racket-users/874l5ma2qe.fsf%40greghendershott.com. For more options, visit https://groups.google.com/d/optout.

