Skip to content

Instantly share code, notes, and snippets.

@pjagielski
Created August 5, 2018 21: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 pjagielski/a1124b9c3819976d8106ac87cde045c5 to your computer and use it in GitHub Desktop.
Save pjagielski/a1124b9c3819976d8106ac87cde045c5 to your computer and use it in GitHub Desktop.
(defn come-back? [match-to-fix]
(let [match (fix-match match-to-fix)
first-scored-side (first-scored-side match)
winner-side (winner-side match)]
(and (not (nil? winner-side))
(not= winner-side first-scored-side))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment