Almost all of the observable "operators" are synonyms for named functions, but one common one is not: :=.
By convention with other observable functions, and with the rest of Racket, I think the obvious name for this would be obs-set!.
Maybe I'm just an old Lisp fart but I don't use the (a . f . b) syntax and I don't find it easy to mentally switch between prefix and infix notation, and I have a hard time remembering all the ><~=# characters, so a simple (obs-set! o v) would be really nice to have. Yeah, it's easy to write myself, or I could use (obs-update! o (λ (_) v)) ... I know this is a silly little request.
Almost all of the observable "operators" are synonyms for named functions, but one common one is not:
:=
.By convention with other observable functions, and with the rest of Racket, I think the obvious name for this would be
obs-set!
.Maybe I'm just an old Lisp fart but I don't use the
(a . f . b)
syntax and I don't find it easy to mentally switch between prefix and infix notation, and I have a hard time remembering all the><~=#
characters, so a simple(obs-set! o v)
would be really nice to have. Yeah, it's easy to write myself, or I could use(obs-update! o (λ (_) v))
... I know this is a silly little request.