Last active
September 2, 2015 02:01
-
-
Save egisatoshi/6b857747de35a54bb20d to your computer and use it in GitHub Desktop.
shell game 18 q8
This file contains 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
cat number | egison -F1s -s '(match-all-lambda (list string) [<cons <join _ <cons $x <cons $y <join $s <cons ,x <cons ,y $t>>>>>> _> [x y (take-while eq? (zip (unpack s) (unpack t)))]])' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment