Created
September 14, 2015 09:40
-
-
Save owickstrom/183d6c176f5dbd634773 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(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