Re:Turning the IDE Inside Out with Datalog
by YeGoblynQueenne on Sunday July 19, 2020 @02:30PM
(#23891325)
Yes. I just don't see why this is such a big hassle. Particularly because -I'm guessing- whatever the Rust compiler does to decide type equality can't be less hassle-y than that.
But, I might misunderstand the problem since, again, I don't know Rust.
Right. The author is just disappointed that Prolog does have a built-in "equality" that isn't the equality they want. A nice solution in Prolog would be to write a meta-interpreter or to do term rewriting on the input program. This would allow the author to write
and have it be interpreted as