Proposal: Add singleton function to Data.List module

Oliver Charles ollie at ocharles.org.uk
Sun Aug 18 17:16:57 UTC 2019


On Sun, 18 Aug 2019, 5:47 pm Helmut Schmidt, <helmut.schmidt.4711 at gmail.com>
wrote:

>
> All these philosophical arguments calling for "consistency" with the
> container APIs or that function need words for the human mind to comprehend
> seem short-sighted to me. If we were consistent about the proposal itself
> we'd also demand to add
>
>   cons = (:)
>
>   empty = []
>
>   toList = id
>
>   fromList = id
>

I honestly have no problem with any of these.

Ollie

>
>>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/libraries/attachments/20190818/5c92a0df/attachment.html>


More information about the Libraries mailing list