
10 Jan
2018
10 Jan
'18
6:44 a.m.
Hi, Am Dienstag, den 09.01.2018, 17:55 -0500 schrieb David Feuer:
The containers Haddock documentation currently represents sequences, sets, and maps via the relevant `fromList` function. For example, Data.Map gives the example
findWithDefault 'x' 1 (fromList [(5,'a'), (3,'b')]) == 'x'
I find these `fromList` calls exceedingly distracting, and I think they obscure the key ideas.
they are maybe somewhat verbose and distracting, but they are also explicit (compared to OverloadedLists) and do not introduce new stuff (compared to funny brackets). I would leave it as it is. Joachim -- Joachim Breitner mail@joachim-breitner.de http://www.joachim-breitner.de/