Skip to content

Instantly share code, notes, and snippets.

@RickMoynihan
Created January 24, 2017 11:45
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 RickMoynihan/ad5086c645ebebf213f675dc41636931 to your computer and use it in GitHub Desktop.
Save RickMoynihan/ad5086c645ebebf213f675dc41636931 to your computer and use it in GitHub Desktop.
(require '[grafter.rdf.io :as gio])
(defn every-quad-valid?
"Test coercing quads to sesame statements, raises an exception with
a very useful error message if it fails."
[quads]
(every? gio/IStatement->sesame-statement quads))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment