3 ms·
Tangent: what I like about (the) Haskell (ecosystem) is that most often you'll find the exact right tool for a job. Eg: in Python you get `dict` ... In Haskell
by fho 4y ago
Tangent: what I like about (the) Haskell (ecosystem) is that most often you'll find the exact right tool for a job.
Eg: in Python you get `dict` ... In Haskell you get very specialized versions of you need them. Do you have integers as keys? `IntMap` is your friend. Hash able keys? `HashMap`! Don't know anything about your keys except for it a key is different from another? You still functions that tread a list of tuples as a map.