2 ms·
You don't need row polymorphism to write a function which operates on a collection of key/value pairs and expects a specific key to exist at runtime. This work
by yakshaving_jgt 7y ago
You don't need row polymorphism to write a function which operates on a collection of key/value pairs and expects a specific key to exist at runtime.
This works in Haskell, just as it does in Clojure.
- wereHamster 7y agoPlease write the Haskell type signature of such a function, as an example.
- yakshaving_jgt 7y agof :: Map String String -> Map String String