[Haskell-cafe] Getting some funny brackets in Haddock docs
Joachim Breitner
mail at joachim-breitner.de
Wed Jan 10 11:44:49 UTC 2018
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 at joachim-breitner.de
http://www.joachim-breitner.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20180110/2a442808/attachment.sig>
More information about the Haskell-Cafe
mailing list