Some experimental monadic stuff in Groovy for educational purposes.