<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>