User Tools

Site Tools


cs326:lab3

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
cs326:lab3 [2021/09/28 16:16]
scarl
cs326:lab3 [2021/09/28 16:26] (current)
scarl
Line 21: Line 21:
     - Call ''​speaker = printer |> Stream.each(&​Countdown.say/​1)''​ which is a surprise (if it works!)     - Call ''​speaker = printer |> Stream.each(&​Countdown.say/​1)''​ which is a surprise (if it works!)
     - Now ask for a certain number of seconds, for example the next 5 seconds: ''​speaker |> Enum.take(5)''​     - Now ask for a certain number of seconds, for example the next 5 seconds: ''​speaker |> Enum.take(5)''​
-Explain what happens.+Do this several times in a row. Explain what happens.
  
cs326/lab3.txt ยท Last modified: 2021/09/28 16:26 by scarl