aboutsummaryrefslogtreecommitdiffhomepage
path: root/samples/rosetta/palindrome_detection.bruijn
diff options
context:
space:
mode:
Diffstat (limited to 'samples/rosetta/palindrome_detection.bruijn')
-rw-r--r--samples/rosetta/palindrome_detection.bruijn6
1 files changed, 6 insertions, 0 deletions
diff --git a/samples/rosetta/palindrome_detection.bruijn b/samples/rosetta/palindrome_detection.bruijn
new file mode 100644
index 0000000..f4c05b2
--- /dev/null
+++ b/samples/rosetta/palindrome_detection.bruijn
@@ -0,0 +1,6 @@
+:import std/String .
+
+main [<~>0 =? 0]
+
+:test (main "tacocat") ([[1]])
+:test (main "bruijn") ([[0]])