Category Archives: Functional Programming

Rust – Functional Programming for Rust

https://github.com/algermissen/rustz Advertisements

Posted in Functional Programming, Programming, Rust | Leave a comment

FP – Another valuable article about Functor

http://nikgrozev.com/2016/03/14/functional-programming-and-category-theory-part-1-categories-and-functors/ http://nikgrozev.com/2016/04/11/functional-programming-and-category-theory-part-2-applicative-functors/

Posted in Functional Programming, Programming | Leave a comment

FP – Designing multi threaded and concurrent enabled software with functional programming

Modern CPU architecture has been enforcing me to create multi-threaded and concurrent enabled software. I have been creating multi-thread software with Gang of four design principal but this design principal didn’t show me the best way on creating high scalable … Continue reading

Posted in Functional Programming, Programming | Leave a comment

FP – Relationship between Applicative Functor and Monad

Applicative Functor has the following two properties. Pure: create a functor from value. Apply: a function taking arguments which are a Functor having a function and a Pure. This function will return the Functor after applying the function inside the … Continue reading

Posted in Functional Programming, Programming | Leave a comment

C++11 – Monoid, Functor, Applicative Functor and Monad

How CPP express Monoid, Functor, Applicative Functor and Monad. The below documentation shows a good explanation. https://github.com/boostcon/cppnow_presentations_2016/blob/master/00_tuesday/monoids_monads_and_applicative_functors_repeated_software_patterns.pdf

Posted in C++, Functional Programming, Programming | Leave a comment

FP – expression vs statement

Expression: by combining value and function, it will generate the value with some possible side-effect Statement: standalone unit of execution without returning anything. Normally it has side effect. More information: https://fsharpforfunandprofit.com/posts/expressions-vs-statements/

Posted in Functional Programming, Programming | Leave a comment

Functional Programming – Simple Explaining of Keyword

1. Functor -> Mappable 2. Currying -> Currying 3. Applicative -> Applicative 4. Monad -> Chainable 5. Monoid -> Aggregatable 6. Catamorphism -> Collapsable

Posted in Functional Programming, Programming | Leave a comment