Clojurians
#clojure-italy
<
2018-09-13
>

This page is not created by, affiliated with, or supported by Slack Technologies, Inc.

mpenet09:09:20

@andrea.imparato for fun, the halt-when version:

(transduce (halt-when #(re-find #"\." %) conj)
           conj
           '("ciao" "mi" "piace" "clojure." "Ed" "altro"))

mpenet09:09:01

the reduced example makes more sense in that context tho

reborg09:09:06

nice :thumbsup:

reborg09:09:20

best so far actually.

mpenet09:09:17

halt-when is an odd beast, doesn't work with into/sequence

reborg09:09:03

it works, it just doesn’t do the last element trick: (sequence (halt-when #(re-find #"\." %) conj) '("ciao" "mi" "piace" "clojure." "Ed" "altro"))

mpenet09:09:17

e possible di fare un xform che funziona con into/transduce/chan etc:

reborg10:09:23

:slightly_smiling_face:

andrea.crotti15:09:19

il buon @nilrecurring sta parlando di Dhall

andrea.crotti15:09:07

senza dubbio in pole position sull'eleganza per adesso

reborg15:09:52

ah… doveva rilasciare la 1.0 on stage! Occasione persa :slightly_smiling_face:

nilrecurring16:09:02

Lo so :( ma ero preoccupato di sforare sul tempo

reborg17:09:51

“We’re gonna make some history together, here on stage, today…”