Skip to content

Instantly share code, notes, and snippets.

@ryuichiueda
Last active August 29, 2015 14:13
Show Gist options
  • Save ryuichiueda/7bc58cb676b3fed19cb8 to your computer and use it in GitHub Desktop.
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
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