We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65163ad commit 173b714Copy full SHA for 173b714
strats/stdlib.clj
@@ -0,0 +1,2 @@
1
+(defn nth [list pos]
2
+ (if (== pos 0) (head list) (nth (tail list) (- pos 1)))
0 commit comments