Scala - conversion from for-comprehension to map, flatMap
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 def getProduct(id: String): Try[Product] def getPrice(product: Product): Try[Price] def calculateProductPrice(product: Pr...
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 def getProduct(id: String): Try[Product] def getPrice(product: Product): Try[Price] def calculateProductPrice(product: Pr...
Expression: by combining value and function, it will generate the value with some possible side-effect\ Statement: standalone unit of execution without retur...
The following command will import a table(column family) to the destination Cassandra node.
Tmux switcher with fzf
1. Functor -> Mappable\ Currying -> Currying\ Applicative -> Applicative\ Monad -> Chainable\ Monoid -> Aggregatable\ Catamorphism ...