Generic programming — Or: write everything once
Ralf Hinze summarizes polytypic programming, with a focus on Generic Haskell. He discusses:
- Generic functions on types
- Generic functions on type constructors
- Generic types
In addition to the usual generic equality and serialization, he mentions
fold and
map (though not by name), along with a dozen other ideas that use polytypism. He also notes that the Generic Haskell experiment will be continued and integrated into a "standard Haskell compiler".
Recent comments
3 days 3 hours ago
3 days 3 hours ago
4 days 8 hours ago
4 days 12 hours ago
4 days 13 hours ago
4 days 13 hours ago
4 weeks 4 days ago
5 weeks 1 day ago
10 weeks 2 days ago
10 weeks 3 days ago