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.
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.
