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 return...
The following command will import a table(column family) to the destination Cassandra node. 1 $ sstableloader -d [destination IP address] -p [port number] [t...
Tmux switcher with fzf
1. Functor -> Mappable 2. Currying -> Currying 3. Applicative -> Applicative 4. Monad -> Chainable 5. Monoid -> Aggregatable 6. Catamorphism -...