<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Carter, you might want to take a look at Elixir's standard
      library, which (in my experience) has a good position when it
      comes to graphemes <a class="moz-txt-link-freetext" href="https://hexdocs.pm/elixir/String.html">https://hexdocs.pm/elixir/String.html</a><br>
    </p>
    <div class="moz-cite-prefix">Le 27/06/2021 à 15:58, Carter Schonwald
      a écrit :<br>
    </div>
    <blockquote type="cite"
cite="mid:CAHYVw0ziZq89uVj-qthn+cgQpLkh3ZYc+ECKsiE13BT5+WoxJQ@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="auto">More deeply, it doesn’t suffice to guarantee
        you’re gonna have a well formed unicode sequence! </div>
      <div dir="auto"><br>
      </div>
      <div dir="auto">It’d need to be grapheme -> text -> text
         right?</div>
      <div dir="auto"><br>
      </div>
      <div dir="auto">I’ve def wanted to dig into how to make
        programming more grapheme oriented for text at some point.  I
        think swift explcitly does this in their standard libraries ?</div>
      <div><br>
        <div class="gmail_quote">
          <div dir="ltr" class="gmail_attr">On Sun, Jun 27, 2021 at 1:37
            AM Ivan Lazar Miljenovic <<a
              href="mailto:ivan.miljenovic@gmail.com"
              moz-do-not-send="true">ivan.miljenovic@gmail.com</a>>
            wrote:<br>
          </div>
          <blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)">
            <div dir="ltr">
              <div dir="ltr">On Sun, 27 Jun 2021 at 12:44, Andreas Abel
                <<a href="mailto:andreas.abel@ifi.lmu.de"
                  target="_blank" moz-do-not-send="true">andreas.abel@ifi.lmu.de</a>>
                wrote:<br>
              </div>
              <div class="gmail_quote">
                <blockquote class="gmail_quote" style="margin:0px 0px
                  0px
0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)"> >
                  `intersperse :: Char -> Text -> Text`<br>
                  <br>
                  Yeah, that looks silly indeed.  Should be pruned or
                  marked as spam.<br>
                </blockquote>
                <div><br>
                </div>
                <div>"Spam" is a bit harsh.  And it does indeed have
                  some use (albeit primarily with test suites and quite
                  possibly more efficient ways to do the required task
                  anyway): <a
href="https://github.com/search?l=Haskell&q=Text.intersperse&type=Code"
                    target="_blank" moz-do-not-send="true">https://github.com/search?l=Haskell&q=Text.intersperse&type=Code</a>
                  <br>
                </div>
              </div>
            </div>
            <div dir="ltr">
              <div class="gmail_quote">
                <div><br>
                </div>
                <div> </div>
                <blockquote class="gmail_quote" style="margin:0px 0px
                  0px
0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)"><br>
                  On 2021-06-27 01:33, Andrew Lelechenko wrote:<br>
                  > I know applications for `intercalate :: Text
                  -> [Text] -> Text`: `unwords`, `unlines`, etc.
                  But what is `intersperse :: Char -> Text ->
                  Text` good for? Am I correct assuming that its sole
                  merit is to mimic `Data.List` API? Note that
                  `Data.List.intersperse` is polymorphic and is
                  exceedingly rarely used for `Char -> String ->
                  String`.<br>
                  > <br>
                  > Best regards,<br>
                  > Andrew<br>
                  > _______________________________________________<br>
                  > Libraries mailing list<br>
                  > <a href="mailto:Libraries@haskell.org"
                    target="_blank" moz-do-not-send="true">Libraries@haskell.org</a><br>
                  > <a
                    href="http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries"
                    rel="noreferrer" target="_blank"
                    moz-do-not-send="true">http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries</a><br>
                  > <br>
                  _______________________________________________<br>
                  Libraries mailing list<br>
                  <a href="mailto:Libraries@haskell.org" target="_blank"
                    moz-do-not-send="true">Libraries@haskell.org</a><br>
                  <a
                    href="http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries"
                    rel="noreferrer" target="_blank"
                    moz-do-not-send="true">http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries</a><br>
                </blockquote>
              </div>
              <br clear="all">
              <br>
              -- <br>
              <div dir="ltr">Ivan Lazar Miljenovic<br>
                <a href="mailto:Ivan.Miljenovic@gmail.com"
                  target="_blank" moz-do-not-send="true">Ivan.Miljenovic@gmail.com</a><br>
                <a href="http://IvanMiljenovic.wordpress.com"
                  target="_blank" moz-do-not-send="true">http://IvanMiljenovic.wordpress.com</a></div>
            </div>
            _______________________________________________<br>
            Libraries mailing list<br>
            <a href="mailto:Libraries@haskell.org" target="_blank"
              moz-do-not-send="true">Libraries@haskell.org</a><br>
            <a
              href="http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries"
              rel="noreferrer" target="_blank" moz-do-not-send="true">http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries</a><br>
          </blockquote>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Libraries mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Libraries@haskell.org">Libraries@haskell.org</a>
<a class="moz-txt-link-freetext" href="http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries">http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries</a>
</pre>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
Hécate ✨
🐦: @TechnoEmpress
IRC: Hecate
WWW: <a class="moz-txt-link-freetext" href="https://glitchbra.in">https://glitchbra.in</a>
RUN: BSD</pre>
  </body>
</html>