u/Droneslutin r/haskell • Recommends
On “Efficient logic programming in Haskell?”
Have you looked into the work that Ed Kmett was doing around this topic? The repo is here. I don't think that doing logic programming in Haskell with an EDSL-ish approach will ever be as fast as in a real Prolog implementation, but I do think you can get acceptable performance just like you can in Scheme/Racket.