<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!-- p { margin-top: 0px; margin-bottom: 0px; }--></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>I think the original suggestion was not <span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);">'intercalculate', but </span>'intercalate', which may be accurate, but is very obscure, even
 for native English speakers. <br>
</p>
<p><br>
</p>
<p>'Join' is both vague and specific, since it already has many specialized uses in algebra (e.g. lattices have 'meet' and 'join'), which Haskell has picked up.<br>
</p>
<p><br>
</p>
<p>I don't have a dog in this fight, but tentatively suggest 'delimit', which is ugly, but comprehensible based on the common usage of 'delimiter'.<br>
</p>
<p><br>
</p>
<p>Mike<br>
</p>
<p><br>
</p>
<div style="color: rgb(33, 33, 33);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> erlang-questions-bounces@erlang.org <erlang-questions-bounces@erlang.org> on behalf of Chandru <chandrashekhar.mullaparthi@gmail.com><br>
<b>Sent:</b> Tuesday, March 8, 2016 10:24<br>
<b>To:</b> Loïc Hoguin<br>
<b>Cc:</b> Erlang (E-mail)<br>
<b>Subject:</b> Re: [erlang-questions] Proposal: add lists:intersperse/2 and lists:intercalate/2</font>
<div> </div>
</div>
<div>
<div dir="ltr">On 7 March 2016 at 16:04, Loïc Hoguin <span dir="ltr"><<a href="mailto:essen@ninenines.eu" target="_blank">essen@ninenines.eu</a>></span> wrote:<br>
<div class="gmail_extra">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<span class="">On 03/07/2016 04:53 PM, Garrett Smith wrote:<br>
</span>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<span class="">On Mon, Mar 7, 2016 at 9:28 AM Jesper Louis Andersen<br>
<<a href="mailto:jesper.louis.andersen@gmail.com" target="_blank">jesper.louis.andersen@gmail.com</a><br>
</span><span class=""><mailto:<a href="mailto:jesper.louis.andersen@gmail.com" target="_blank">jesper.louis.andersen@gmail.com</a>>> wrote:<br>
<br>
<br>
    On Mon, Mar 7, 2016 at 4:08 PM, Garrett Smith <<a href="mailto:g@rre.tt" target="_blank">g@rre.tt</a><br>
</span><span class="">    <mailto:<a href="mailto:g@rre.tt" target="_blank">g@rre.tt</a>>> wrote:<br>
<br>
        It's vague, as is intercalculate, but as it's superficially<br>
        doing what string "join" does with chars has some precedence<br>
        within Erlang. I wouldn't call it hopeless.<br>
<br>
<br>
    I'm probably leaning away from using 'join' at this point, since<br>
    'join' already have type<br>
<br>
    join :: Monad M => m (m a) -> m a<br>
<br>
    so from an FP perspective, that name is highly confusing since it is<br>
    in use in monadic context and is used to join monadic data into its<br>
    own monadic context. For a list, join is essentially 'append':<br>
<br>
    Prelude Control.Monad> join ["a", "b", "c"]<br>
    "abc"<br>
<br>
    But join is monadic, so `join $ Just Nothing` evaluates to `Nothing`.<br>
<br>
<br>
Sigh. Okay, so the future naming discussions will involve with word<br>
monad and monadic?<br>
<br>
You've seen the discussions around adoption and the disruptive influence<br>
of Elixir?<br>
<br>
For whatever reason FP pedantry is not a draw for me. When I need<br>
inspiration I look to Python. Maybe that's the wrong direction and we<br>
need to drive our community through more gates.<br>
</span></blockquote>
<br>
I am completely with you on that. If the function was called intercalculate I'd never find it and would continue writing my own.<br>
<br>
</blockquote>
<div><br>
</div>
<div>I second this. I'm part of the vast number of unwashed masses who've never heard of the term intercalculate, and if I came across it in a developer's code would think that they were being a bit too clever. Like many others I have written this piece of
 code several times and invariably named it 'concat_with_separator' - a mouthful but it conveys (at least to me) what exactly the function is doing.</div>
<div><br>
</div>
<div>cheers,</div>
<div>Chandru</div>
<div><br>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>