- Take some high level task from real world and decompose it to functional paradigm based on logic with any programming language or even human language.
Ex: Play Death Note opening on guitar
fn convert Death Note to notes
fn extract tab from notes
fn map tab to finger sequence on guitar
fn play each finger step
But describe it with body of functions and used categories/types
-
Is it possible to reuse your function with different payload?
-
How do you understand the ability to scale or parallel computing in your functions?
-
Is it possible to shortify arity of functions to 1? Or 0?
-
Could you add monads like Either / Option / MayBe into your code?
Ex: Play Death Note opening on guitar
fn convert Death Note to notes
fn extract tab from notes
fn map tab to finger sequence on guitar
fn play each finger step
But describe it with body of functions and used categories/types
Is it possible to reuse your function with different payload?
How do you understand the ability to scale or parallel computing in your functions?
Is it possible to shortify arity of functions to 1? Or 0?
Could you add monads like Either / Option / MayBe into your code?