title: Clojure Functional reactive programming (FRP) with Lamina: Simple clock code?
body: <p>I'm using <a href="https://github.com/ztellman/lamina" rel="nofollow noreferrer">Lamina</a> to implement Functional reactive programming (FRP).</p>
  
  <p>As a starter, I try to code a very simple clock in order to understand the library basics.</p>
  
  <p>According to the Lamina 0.5.0-rc4 API documentation, there is lamina.time API:
  <a href="http://ideolalia.com/lamina/lamina.time.html#var-now" rel="nofollow noreferrer">http://ideolalia.com/lamina/lamina.time.html#var-now</a></p>
  
  <p>I want to implement a very simple clock where:</p>
  
  <ul>
  <li><p>Interval of every second as Observable time Streaming Collection/List/Seq (I don't quite understand the difference yet) <strong>（EDIT: now I understood it's called <a href="https://github.com/ztellman/lamina/wiki/Channels" rel="nofollow noreferrer">Channels</a> on Lamina)</strong></p></li>
  <li><p>Now as Observable Streaming data</p></li>
  <li><p>Println Now on every second (subscribe or for-each Observable time Collection)</p></li>
  </ul>
  
  <p>Any feedback is welcome. Thanks.</p>
  
  <p><strong>EDIT: I quit.</strong></p>
  
  <p><strong>After some research, I conclude the best way to code FRP is ClojureScript with RxJs(ReactiveExtention from MS).</strong></p>
  
  <p><strong>See the example Code for ClojureScript + RxJs + node.js in my related Qestion Here:
  <a href="https://stackoverflow.com/questions/17474492/clojurescript-on-node-js-code">ClojureScript on node.js, code</a></strong></p>