Download Algorithm-Writer-with-Lists/four_crosses.pl from luciangreen/phil_algs: direct link, hf CLI and curl.
- Browser
- Download file 337 Bytes
-
https://huggingface.co/datasets/luciangreen/phil_algs/resolve/main/Algorithm-Writer-with-Lists/four_crosses.pl
- Command line
-
hf download hf://datasets/luciangreen/phil_algs/Algorithm-Writer-with-Lists/four_crosses.pl
-
curl -L -o four_crosses.pl https://huggingface.co/datasets/luciangreen/phil_algs/resolve/main/Algorithm-Writer-with-Lists/four_crosses.pl
337 Bytes
| four_crosses :- | |
| prompt("What are the two items to cross?",_Two_items), | |
| cross,cross,cross, | |
| prompt("What is their cross?",_Cross11). | |
| cross :- | |
| prompt("What is their cross?",_Cross11), | |
| prompt("What is at the same level as this?",_Cross12). | |
| prompt(Prompt,String) :- | |
| writeln(Prompt), | |
| read_string(user_input, "\n", "\r", _End, String). |