Skip to content

Instantly share code, notes, and snippets.

@marick
Last active August 29, 2015 14:06
Show Gist options
  • Save marick/ed9f9accc812f3406dc2 to your computer and use it in GitHub Desktop.
Save marick/ed9f9accc812f3406dc2 to your computer and use it in GitHub Desktop.
(defn wisdom:storage-key [stutter]
(when-maybe [scope (wisdom-scope stutter)
code (case (:stutter_type stutter)
"reflection" (:header_key stutter)
"student_completed_event" "goal_completed"
;else
(errorf "There is no stutter for %s" stutter))]
(wisdom-key scope code)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment