Created
May 14, 2017 04:46
-
-
Save peat-psuwit/01e8bee8608b8af2f40adf2aea2bdc3e to your computer and use it in GitHub Desktop.
Check if the sequence is the same sequence of letters twice.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
furious([], L2, L2). | |
furious([X|L1], L2, [X|L3]) :- | |
furious(L1, L2, L3). | |
isTwice(Full) :- | |
furious(Half, Half, Full). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment