(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
#### | |
## Ruby port of "A Tale of 3 Nightclubs" | |
## | |
## Based on Scala version here: https://gist.github.com/970717 | |
## | |
## Demonstrates applicative validation in Ruby, inspired by the blog post: | |
## "An example of applicative validation in FSharpx" | |
## (http://bugsquash.blogspot.com/2012/03/example-of-applicative-validation-in.html) | |
#### |
/** | |
* Part Zero : 10:15 Saturday Night | |
* | |
* (In which we will see how to let the type system help you handle failure)... | |
* | |
* First let's define a domain. (All the following requires scala 2.9.x and scalaz 6.0) | |
*/ | |
import scalaz._ | |
import Scalaz._ |