Cut

Noun ยท Verb · Development

Definitions

  1. In Prolog, the cut (!) operator commits to the current choice point, preventing backtracking past it. In Unix, the cut command extracts sections from each line of input. Both uses involve selecting and discarding alternatives.

    In plain English: In Prolog, a command that tells the program to stop looking for alternative solutions and stick with what it has found so far.

Related Terms