Monoid - Simple definition of Monoid
1. Closure: Two same type pair operation results a new result with same type. 2. Associative: Doesn't matter or operation order wit a pair. 3. Identity: Ther...
1. Closure: Two same type pair operation results a new result with same type. 2. Associative: Doesn't matter or operation order wit a pair. 3. Identity: Ther...
MC commands ----- Esc ----- Quick change directory: Esc + c Quick change directory history: Esc + c and then Esc + h Quick change directory previous entry: E...
Combines the following concept. 1. Functor - Type constructor. - Value lifting. - class Functor f where fmap :: (a -> b) -> (f a -> f b) 2. Bi...
Pseudo C++ example implementation of map function of optional in Java8 for functional style programming. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 2...
1 2 3 Collection.sort(list, Ordering.from((Comparator<Item>) Comparator.comparingInt(item -> item.getId())) .compound(Comparator.comparing(Item::g...