view wisdom/cut elimination @ 11296:1d2aa8ef25d7

<wob_jonas> perl -eopen$i,"<",($f="wisdom/aristotle");$_=<$i>; s/two thousand/2000/ or die; if (1) { open$o,">",$f; print$o $_ or die; } print substr$_,0;
author HackBot
date Mon, 01 Jan 2018 18:02:36 +0000
parents d634e64cd991
children
line wrap: on
line source

The cut-elimination theorem states that any Prolog program written using the cut operator ! can be rewritten without using that operator.