(no title)
alpinisme | 1 month ago
But at least ad hoc polymorphism lets you search for all instances of that business logic easily.
alpinisme | 1 month ago
But at least ad hoc polymorphism lets you search for all instances of that business logic easily.
ogogmad|1 month ago
For JSON deserialisation, you would declare a module-type called "JSON-deserialiser", and you would define a bunch of modules of that module-type.
The unusual thing is that a JSON-deserialiser would no longer be tied to a type (read: type, not module-type). Types in ML-like languages don't have any structure at all. I suppose you can now define many different JSON-serialisers for the same type?