Re:Tamgu, a functional, imperative, logical programming lang...
by dkersten on Wednesday July 24, 2019 @06:09AM
(#20513703)
I have the exact same opinion and like minikanren libraries in Scheme and Clojure for that reason. I always liked Prolog, it always felt like an awesome way to write certain aspects of a program, but always felt super awkward for the rest of the program. With this approach, you can write the bits that make sense in the style that most suits. That's a pretty nice thing to be able to do!
[ Parent
| on HN ]
Re:Tamgu, a functional, imperative, logical programming lang...
by clauderoux on Wednesday July 24, 2019 @08:54AM
(#20514700)
Actually, there is a simple program: hanoi.tmg in https://github.com/naver/tamgu/tree/master/examples/Predicat..., which shows how to mix Prolog and imperative programming for a benefit of both.
Re:Tamgu, a functional, imperative, logical programming lang...
by 6thaccount2 on Wednesday July 24, 2019 @08:26AM
(#20514465)
Exactly!