How to write a Haskell function that can call “getField @k” on “obj” as well as “Maybe obj”
I’m trying to write HTML form helpers where I’d like the call-sites to support both of the following use-cases:
I’m trying to write HTML form helpers where I’d like the call-sites to support both of the following use-cases: