zkat / maybe-hugs

Polyglot implementations of conditional hugging
Other
115 stars 25 forks source link

Add Scala version :heart: #16

Closed cyberglot closed 9 years ago

cyberglot commented 9 years ago

:smile: :tada:

zkat commented 9 years ago

\o/! I think this might be the first Either-monad flavored one I've seen since I started this. Thank you!!

println(Cutie.hug(@jugoncalves))
cyberglot commented 9 years ago

^__^ thanks for accepting it. I've designed it as a Maybe monad, but it's easier when it holds the empathy message too.