Skip to content

Instantly share code, notes, and snippets.

@bmeck

bmeck/closing.js Secret

Created March 21, 2016 20:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bmeck/e78f0fbc486369b05027 to your computer and use it in GitHub Desktop.
Save bmeck/e78f0fbc486369b05027 to your computer and use it in GitHub Desktop.
const res = file('haiku.txt');
for (let x of lines(using(res))) {
if (syllables_of(x) > 7) {
throw new Error(`won't close res?`);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment