<div dir="ltr">I guessed so and subscribed, CCing again to the libraries list, hoping it will work this time. I think instead of saying "You are not allowed to post to this mailing list" the message should say "You need to subscribe to post to this list" and it can provide info about how to subscribe as well. Is it too problematic (spam?) if these lists are open to all?<div><br></div><div>-harendra<br><div><br><div class="gmail_extra"><div class="gmail_quote">On 5 February 2018 at 12:05, Markus Läll <span dir="ltr"><<a href="mailto:markus.l2ll@gmail.com" target="_blank">markus.l2ll@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Harendra -- I think you just need to register to <a href="mailto:libraries@haskell.org" target="_blank">libraries@haskell.org</a> to post there.<br></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Mon, Feb 5, 2018 at 6:02 AM, Harendra Kumar <span dir="ltr"><<a href="mailto:harendra.kumar@gmail.com" target="_blank">harendra.kumar@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div>Hi,</div><div><br></div><div><br></div><div>I am looking for the decision making authority or a place where questions about haskell libraries like in the email below can be asked or answered. ghc-devs told me that their list is not the right place for this and redirected me to haskell-cafe or <a href="mailto:libraries@haskell.org" target="_blank">libraries@haskell.org</a>. I tried sending an email to <a href="mailto:libraries@haskell.org" target="_blank">libraries@haskell.org</a> but that seems to be a closed list, my email got rejected, so that also does not seem like the right place. <span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Is haskell cafe the right place?<span> I was under the impression that haskell-cafe is for general discussions and not an owner of any of the libraries or any other haskell code. Are there any other mailing lists that I am missing? I can raise a ticket at ghc trac but I guess that cannot be the primary way to ask simple questions.</span></span></div><div><br></div><div>-harendra</div><div><br></div><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername"></b> <span dir="ltr"><<a href="mailto:libraries-owner@haskell.org" target="_blank">libraries-owner@haskell.org</a>></span><br>Date: 5 February 2018 at 09:34<br>Subject: Re: rolling span and groupBy for lists<br>To: <a href="mailto:harendra.kumar@gmail.com" target="_blank">harendra.kumar@gmail.com</a><br><br><br>You are not allowed to post to this mailing list, and your message has<br>
been automatically rejected. If you think that your messages are<br>
being rejected in error, contact the mailing list owner at<br>
<a href="mailto:libraries-owner@haskell.org" target="_blank">libraries-owner@haskell.org</a>.<div><div class="m_5258092319419338460h5"><br>
<br>
<br><br>---------- Forwarded message ----------<br>From: Harendra Kumar <<a href="mailto:harendra.kumar@gmail.com" target="_blank">harendra.kumar@gmail.com</a>><br>To: David Feuer <<a href="mailto:david@well-typed.com" target="_blank">david@well-typed.com</a>>, libraries <<a href="mailto:libraries@haskell.org" target="_blank">libraries@haskell.org</a>><br>Cc: <a href="mailto:ghc-devs@haskell.org" target="_blank">ghc-devs@haskell.org</a><br>Bcc: <br>Date: Mon, 5 Feb 2018 10:07:55 +0530<br>Subject: Re: rolling span and groupBy for lists<br><div dir="ltr">I was mainly asking if it makes sense to include these functions in base/Data.List. Since the base package is maintained and ships along with ghc, and the issues are also raised at ghc trac I thought this is the right list. I am copying to <a href="mailto:libraries@haskell.org" target="_blank">libraries@haskell.org</a> as well. <div><br></div><div>-harendra</div><div class="gmail_extra"><br><div class="gmail_quote">On 5 February 2018 at 09:53, David Feuer <span dir="ltr"><<a href="mailto:david@well-typed.com" target="_blank">david@well-typed.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>This is the wrong list. You probably meant to email haskell-cafe or perhaps <a href="mailto:libraries@haskell.org" target="_blank">libraries@haskell.org</a>.</div><span class="m_5258092319419338460m_882839779180422101m_-3303383990849483980HOEnZb"><font color="#888888"><div><br></div><div><br></div><div><br></div><div id="m_5258092319419338460m_882839779180422101m_-3303383990849483980m_-3724189584733760938composer_signature"><div style="font-size:85%;color:#575757">David Feuer</div><div style="font-size:85%;color:#575757">Well-Typed, LLP</div></div></font></span><div><div class="m_5258092319419338460m_882839779180422101m_-3303383990849483980h5"><div><br></div><div style="font-size:100%;color:#000000"><div>-------- Original message --------</div><div>From: Harendra Kumar <<a href="mailto:harendra.kumar@gmail.com" target="_blank">harendra.kumar@gmail.com</a>> </div><div>Date: 2/4/18 10:50 PM (GMT-05:00) </div><div>To: <a href="mailto:ghc-devs@haskell.org" target="_blank">ghc-devs@haskell.org</a> </div><div>Subject: rolling span and groupBy for lists </div><div><br></div></div>Hi,<br><br>For a small problem, I was looking for a groupBy like function that groups<br>based on a predicate on successive elements but I could not find one. I<br>wrote these little functions for that purpose:<br><br>-- | Like span, but with a predicate that compares two successive elements.<br>The<br>-- span ends when the two successive elements do not satisfy the predicate.<br>rollingSpan :: (a -> a -> Bool) -> [a] -> ([a], [a])<br>rollingSpan _ xs@[] = (xs, xs)<br>rollingSpan _ xs@[_] = (xs, [])<br>rollingSpan p (x1:xs@(x2:_))<br> | p x1 x2 =<br> let (ys, zs) = rollingSpan p xs<br> in (x1 : ys, zs)<br> | otherwise = ([x1], xs)<br><br>-- | Like 'groupBy' but with a predicate that compares two successive<br>elements.<br>-- A group ends when two successive elements do not satisfy the predicate.<br>rollingGroupBy :: (a -> a -> Bool) -> [a] -> [[a]]<br>rollingGroupBy _ [] = []<br>rollingGroupBy cmp xs =<br> let (ys, zs) = rollingSpan cmp xs<br> in ys : rollingGroupBy cmp zs<br><br>Are there any existing functions that serve this purpose or is there any<br>simpler way to achieve such functionality? If not, where is the right place<br>for these, if any. Can they be included in Data.List in base?<br><br>Thanks,<br>Harendra<br></div></div></div></blockquote></div><br></div></div>
<br></div></div></div><br></div>
<br></div></div>______________________________<wbr>_________________<br>
Haskell-Cafe mailing list<br>
To (un)subscribe, modify options or view archives go to:<br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bi<wbr>n/mailman/listinfo/haskell-caf<wbr>e</a><br>
Only members subscribed via the mailman list are allowed to post.<span class="HOEnZb"><font color="#888888"><br></font></span></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><br>-- <br><div class="m_5258092319419338460gmail_signature" data-smartmail="gmail_signature">Markus Läll<br></div>
</font></span></div>
</blockquote></div><br></div></div></div></div>