<html><head></head><body><div class="ydpd6a13c1cyahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div></div>
        <div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">I guess it's actually 13 people expressing disapproval and I'm -1 on this proposal as well. When I learned Haskell our programming exercises revolved heavily around manipulating and transforming lists. I never felt the urge to use "singleton" as there were always ways to express this more directly in an obvious way. In fact I would be rather confused to see code operating on lists using a noisy "singleton" function and maybe even consider it a code-smell.<br></div><br></div><div id="yahoo_quoted_6499797538" class="yahoo_quoted">
            <div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
                
                <div>
                    On Monday, 19 August 2019, 18:24:41 GMT-7, Taylor Fausak <taylor@fausak.me> wrote:
                </div>
                <div><br></div>
                <div><br></div>
                <div><div id="yiv7779135445"><title></title><style type="text/css">#yiv7779135445 p.yiv7779135445MsoNormal, #yiv7779135445 p.yiv7779135445MsoNoSpacing{margin:0;}</style><div><div>It has been a week since I submitted my proposal. During that time, 28 people voted, with 16 expressing approval and 12 expressing disapproval. To everyone that voted so far: Thank you! You made for interesting discussion.<br clear="none"></div><div><br clear="none"></div><div>I still feel that Haskell would be improved by the addition of a `singleton` function to the `Data.List` module. (And also `Data.List.NonEmpty`, even though that wasn't part of my original proposal.) I would be happy to open a merge request adding code, tests, and documentation. <br clear="none"></div><div><br clear="none"></div><div>I haven't done so yet because I don't know what the next steps are. Can someone from the CLC tell me how an official approval or rejection can be reached, and how long that might take? Thanks!<br clear="none"></div><div><br clear="none"></div><div class="yiv7779135445yqt0783073474" id="yiv7779135445yqt32664"><div>On Mon, Aug 19, 2019, at 6:39 AM, Helmut Schmidt wrote:<br clear="none"></div><blockquote id="yiv7779135445qt" type="cite"><div dir="ltr"><div dir="ltr"><br clear="none"></div><div>Andreas, you seem to be mistaken there'd only be one container API? But there's several container APIs besides "Data.Set" which provide some collection of elements!<br clear="none"></div><div><br clear="none"></div><div><a rel="nofollow" shape="rect" target="_blank" href="https://hackage.haskell.org/package/dlist-0.8.0.7/docs/Data-DList.html#v:cons">https://hackage.haskell.org/package/dlist-0.8.0.7/docs/Data-DList.html#v:cons</a><br clear="none"></div><div><br clear="none"></div><div><a rel="nofollow" shape="rect" target="_blank" href="https://hackage.haskell.org/package/dlist-0.8.0.7/docs/Data-DList.html#v:append">https://hackage.haskell.org/package/dlist-0.8.0.7/docs/Data-DList.html#v:append</a><br clear="none"></div><div><br clear="none"></div><div><br clear="none"></div><div><br clear="none"></div><div><br clear="none"></div><div><a rel="nofollow" shape="rect" target="_blank" href="https://hackage.haskell.org/package/text-1.2.4.0/docs/Data-Text.html#v:cons">https://hackage.haskell.org/package/text-1.2.4.0/docs/Data-Text.html#v:cons</a><br clear="none"></div><div><br clear="none"></div><div><a rel="nofollow" shape="rect" target="_blank" href="https://hackage.haskell.org/package/text-1.2.4.0/docs/Data-Text.html#v:append">https://hackage.haskell.org/package/text-1.2.4.0/docs/Data-Text.html#v:append</a><br clear="none"></div><div><br clear="none"></div><div><a rel="nofollow" shape="rect" target="_blank" href="http://hackage.haskell.org/package/vector-0.12.0.3/docs/Data-Vector.html#v:cons">http://hackage.haskell.org/package/vector-0.12.0.3/docs/Data-Vector.html#v:cons</a><br clear="none"></div><div><br clear="none"></div><div><a rel="nofollow" shape="rect" target="_blank" href="https://hackage.haskell.org/package/bytestring-0.10.10.0/docs/Data-ByteString.html#v:cons">https://hackage.haskell.org/package/bytestring-0.10.10.0/docs/Data-ByteString.html#v:cons</a><br clear="none"></div><div><br clear="none"></div><div><a rel="nofollow" shape="rect" target="_blank" href="https://hackage.haskell.org/package/bytestring-0.10.10.0/docs/Data-ByteString.html#v:append">https://hackage.haskell.org/package/bytestring-0.10.10.0/docs/Data-ByteString.html#v:append</a><br clear="none"></div><div><br clear="none"></div><div class="yiv7779135445qt-gmail_quote"><div class="yiv7779135445qt-gmail_attr" dir="ltr">Am Mo., 19. Aug. 2019 um 08:16 Uhr schrieb Andreas Abel <<a rel="nofollow" shape="rect" ymailto="mailto:andreas.abel@ifi.lmu.de" target="_blank" href="mailto:andreas.abel@ifi.lmu.de">andreas.abel@ifi.lmu.de</a>>:<br clear="none"></div><blockquote class="yiv7779135445qt-gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-color:rgb(204, 204, 204);border-left-style:solid;border-left-width:1px;padding-left:1ex;"><div>Helmut, do you actually know the container APIs?<br clear="none"></div><div> <br clear="none"></div><div> Show me cons and append in Data.Set!<br clear="none"></div><div> <br clear="none"></div><div> On 2019-08-18 19:40, Helmut Schmidt wrote:<br clear="none"></div><div> > <br clear="none"></div><div> > <br clear="none"></div><div> > Am So., 18. Aug. 2019 um 17:17 Uhr schrieb Oliver Charles <br clear="none"></div><div> > <<a rel="nofollow" shape="rect" ymailto="mailto:ollie@ocharles.org.uk" target="_blank" href="mailto:ollie@ocharles.org.uk">ollie@ocharles.org.uk</a> <mailto:<a rel="nofollow" shape="rect" ymailto="mailto:ollie@ocharles.org.uk" target="_blank" href="mailto:ollie@ocharles.org.uk">ollie@ocharles.org.uk</a>>>:<br clear="none"></div><div> > <br clear="none"></div><div> >     On Sun, 18 Aug 2019, 5:47 pm Helmut Schmidt,<br clear="none"></div><div> >     <<a rel="nofollow" shape="rect" ymailto="mailto:helmut.schmidt.4711@gmail.com" target="_blank" href="mailto:helmut.schmidt.4711@gmail.com">helmut.schmidt.4711@gmail.com</a><br clear="none"></div><div> >     <mailto:<a rel="nofollow" shape="rect" ymailto="mailto:helmut.schmidt.4711@gmail.com" target="_blank" href="mailto:helmut.schmidt.4711@gmail.com">helmut.schmidt.4711@gmail.com</a>>> wrote:<br clear="none"></div><div> > <br clear="none"></div><div> > <br clear="none"></div><div> >         All these philosophical arguments calling for "consistency" with<br clear="none"></div><div> >         the container APIs or that function need words for the human<br clear="none"></div><div> >         mind to comprehend seem short-sighted to me. If we were<br clear="none"></div><div> >         consistent about the proposal itself we'd also demand to add<br clear="none"></div><div> > <br clear="none"></div><div> >            cons = (:)<br clear="none"></div><div> > <br clear="none"></div><div> >            empty = []<br clear="none"></div><div> > <br clear="none"></div><div> >            toList = id<br clear="none"></div><div> > <br clear="none"></div><div> >            fromList = id<br clear="none"></div><div> > <br clear="none"></div><div> > <br clear="none"></div><div> >     I honestly have no problem with any of these.<br clear="none"></div><div> > <br clear="none"></div><div> > <br clear="none"></div><div> > I forgot<br clear="none"></div><div> > <br clear="none"></div><div> >      append = (++)<br clear="none"></div><div> > <br clear="none"></div><div> > We also need to address another elephant in the room... those pesky <br clear="none"></div><div> > tuples and their special privileged non-wordy syntax!<br clear="none"></div><div> > <br clear="none"></div><div> >     pair = (,)<br clear="none"></div><div> > <br clear="none"></div><div> >     triple = (,,)<br clear="none"></div><div> > <br clear="none"></div><div> >     quadruple = (,,,)<br clear="none"></div><div> > <br clear="none"></div><div> >     quituple = (,,,,)<br clear="none"></div><div> > <br clear="none"></div><div> >     sextuple = (,,,,,)<br clear="none"></div><div> > <br clear="none"></div><div> >     septuble = (,,,,,,)<br clear="none"></div><div> > <br clear="none"></div><div> >     octuple = (,,,,,,,)<br clear="none"></div><div> > <br clear="none"></div><div> > If Haskell were invented in this century's EU Haskell source code would <br clear="none"></div><div> > be littered with €s instead of $s but then again I wonder why £ wasn't <br clear="none"></div><div> > picked. But I digress. We can kill two birds with one stone here:<br clear="none"></div><div> > <br clear="none"></div><div> >     apply = ($)<br clear="none"></div><div> > <br clear="none"></div><div> >     strictApply = ($!)<br clear="none"></div><div> > <br clear="none"></div><div> >     compose = (.)<br clear="none"></div><div> > <br clear="none"></div><div> > <br clear="none"></div><div> > It's fun to imagine how code using those definitions would like! But <br clear="none"></div><div> > it's still a -1 for me, sorry!<br clear="none"></div><div> > <br clear="none"></div><div> > <br clear="none"></div><div> > <br clear="none"></div><div> > <br clear="none"></div><div> > _______________________________________________<br clear="none"></div><div> > Libraries mailing list<br clear="none"></div><div> > <a rel="nofollow" shape="rect" ymailto="mailto:Libraries@haskell.org" target="_blank" href="mailto:Libraries@haskell.org">Libraries@haskell.org</a><br clear="none"></div><div> > <a rel="nofollow" shape="rect" target="_blank" href="http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries">http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries</a><br clear="none"></div><div> > <br clear="none"></div></blockquote></div></div><div>_______________________________________________<br clear="none"></div><div>Libraries mailing list<br clear="none"></div><div>Libraries@haskell.org<br clear="none"></div><div>http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries<br clear="none"></div><div><br clear="none"></div></blockquote></div><div><br clear="none"></div></div></div><div class="yqt0783073474" id="yqt67615">_______________________________________________<br clear="none">Libraries mailing list<br clear="none"><a shape="rect" ymailto="mailto:Libraries@haskell.org" href="mailto:Libraries@haskell.org">Libraries@haskell.org</a><br clear="none"><a shape="rect" href="http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries</a><br clear="none"></div></div>
            </div>
        </div></body></html>