Showing posts with label miniKanren. Show all posts
Showing posts with label miniKanren. Show all posts
Functional Vs Relational
Saliya Ekanayake
After sweating my brain over functional programming in Prof. Daniel Friedman's class over the past several weeks, I got the chance to play with relational programming with miniKanren.
It took me some time to adjust my brain to accept the difference. Finally, I told myself
"Going to the grocer and paying for what you got is functional programming, but going to the grocer and handing over 10$ asking to give whatever that fits is logic programming"
Just a thought :)
It took me some time to adjust my brain to accept the difference. Finally, I told myself
"Going to the grocer and paying for what you got is functional programming, but going to the grocer and handing over 10$ asking to give whatever that fits is logic programming"
Just a thought :)
9:40 PM
functional
,
miniKanren
,
programming
,
relational
Subscribe to:
Posts
(
Atom
)