Last active
August 29, 2015 14:13
-
-
Save ryuichiueda/7bc58cb676b3fed19cb8 to your computer and use it in GitHub Desktop.
import PATH diff a b where file a = seq 10 file b = seq 10 ? diff c d where file c = seq 8 file d = seq 10
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
import PATH | |
# "file a = ..." and "file b" = ... are evaluated before "diff a b" | |
diff a b | |
where file a = seq 10 | |
file b = seq 10 | |
# ? is required because this diff returns 1 | |
? file ans = diff c d | |
where file c = seq 8 | |
file d = seq 10 | |
cat ans |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment