r/functionalprogramming • u/tbsdy • Jan 01 '25
Question Functional programming and algebraic structures
I have been looking at algebraic structures (in particular groups) in functional programming. I have been fascinated by how monoids in particular have a wide applicability to the functional programming paradigm. However, I am curious why we don’t seem to have found a way of applying quasigroups and loops to functional programming.
Has anyone ever seen these algebraic structures used in functional programming, outside the use of cryptography?
29
Upvotes
View all comments
12
u/[deleted] Jan 01 '25
I’m building an internal tool that basically allows users to define ETLs. The filtering structure is very close to a Boolean algebra.
Also if you’re interested in this I recommend the book Algebra Driven Design. It’s very good, I found it via the Journal of Functional Programming.