Quantcast
Viewing all articles
Browse latest Browse all 60

Logic programming in Scala, part 3: unification and state

Image may be NSFW.
Clik here to view.

Prolog unification is more expressive than pattern matching as found in Scala, OCaml, etc. Both sides of a unification may contain variables; unification attempts to instantiate them so that the two sides are equal.Image may be NSFW.
Clik here to view.



Viewing all articles
Browse latest Browse all 60

Trending Articles