scala - What is a good way to implement a "delayed" list stream in Scalaz -
i tried doing this, did not work:
process("hello", "salut", "bye", "ciao").interleave(time.sleep(0.5.seconds).repeat)
(process("hello", "salut", "bye", "ciao") zip (time.awakeevery(0.5 s)) .map(_._1)
Comments
Post a Comment