Aw, shucks ๐it's very gratifying to see people get pulled into the ReasonML community/tech ecosystem and make cool stuff. And one of these days, I'll manage to ship some Reason at work tooโfingers crossed ๐
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hey Alain, roughly speaking this should work:
It models the
EventHandlerMapand its values as abstract types, you can fill in more details if you know them.[EDIT: I made the
getreturn anoptionbecause a dynamic key lookup may always returnundefined.]Yawar, you really are an OCaml/Reason guru and probably the most helpful guy I ever met in any community. Keep it up!
Aw, shucks ๐it's very gratifying to see people get pulled into the ReasonML community/tech ecosystem and make cool stuff. And one of these days, I'll manage to ship some Reason at work tooโfingers crossed ๐