Skip to content

Instantly share code, notes, and snippets.

@owickstrom
Created September 14, 2015 09:40
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 owickstrom/183d6c176f5dbd634773 to your computer and use it in GitHub Desktop.
Save owickstrom/183d6c176f5dbd634773 to your computer and use it in GitHub Desktop.
(ns scratch.core
(:require [clojure.core.typed :as t]))
(t/defalias DropboxEntry
(t/Rec [x]
(t/U '{:type (Value :file)
:path String
:mime-type String}
'{:type (Value :directory)
:path String
:contents (t/Seq x)})))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment