Mercurial > repo
view wisdom/cut elimination @ 8601:051bf11c8692
<int-e> ` ( echo \'main=putStr s>>print s\'; echo \'s="main=putStr s>>print s\\ns="\' ) > quines/haskell
author | HackBot |
---|---|
date | Sat, 25 Jun 2016 09:37:35 +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.