News for hackers. Stuff that matters.
Re:Why Is Python Growing So Quickly? by falsedan on Thursday September 14, 2017 @01:22PM (#15250214)
The python equivalent is

    lambda *lst: ''.join([str(lst[0]), str(lst[0]).join([str(_) for _ in lst])])
Which is uh… begging for an initial line of "lst = map(str, lst)"
Re:Why Is Python Growing So Quickly? by RodgerTheGreat on Friday September 15, 2017 @11:55AM (#15258159)
If I follow correctly, the equivalent in K would be

    {,/(*t),/:t:$x}
Flatten (,/) the first element of the list (*t) joined with each element of the list (a,/:b), where t is the input x cast to a list of strings (t:$x). Curly braces make the expression an anonymous function, and since no argument names are specified explicitly the name x is the single input argument.
Re:Why Is Python Growing So Quickly? by falsedan on Friday September 15, 2017 @05:34AM (#15255793)
A more idiomatic solution:

    lambda *lst: ''.join(['{}{}'.format(lst[0], _) for _ in lst])
Re:Why Is Python Growing So Quickly? by AlexCoventry on Thursday September 14, 2017 @02:02PM (#15250715)
Wow, that was a journey. Thanks.