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
Show parent comment
3
u/[deleted] Jan 02 '25
I mean, there’s literally a function “matches Filter a -> Boolean”. That seems very Boolean to me.