DATA PERSISTENCE LAYER IN A PURELY FUNCTIONAL PROGRAMMING PARADIGM

Authors

  • Milan Škrbić Autor

DOI:

https://doi.org/10.24867/15BE36Skrbic

Keywords:

Functional programming, function, functor, monad, category theory, applicative functor, product, coproduct, natural transformation

Abstract

The paper describes the category theory and its usage in the Haskell programming language. In addition to the theoretical part, a concrete implementation of the layer for data persistence in the Instagram clone application is shown. The application is implemented in the IHP framework.

References

[1] Bartosz Milewski, “ Category Theory for Programmers ”
https://github.com/hmemcpy/milewski-ctfp-pdf#category-theory-for-programmers

[2] Philipp Hagenlocher, “ Haskell for Imperative Programmers ”
https://www.youtube.com/watch?v=Vgu82wiiZ90&list=PLe7Ei6viL6jGp1Rfu0dil1JH1SHk9bgDV

[3] Shaistha Fathima, “ Functional Programming VS Object Oriented Programming (OOP) Which is better….? ”
https://medium.com/@shaistha24/functional-programming-vs-object-oriented-programming-oop-which-is-better-82172e53a526

Published

2021-11-09

Issue

Section

Electrotechnical and Computer Engineering