Created
July 10, 2016 01:35
-
-
Save krainboltgreene/9c873d6c16c8e34abb3a974e58637fce to your computer and use it in GitHub Desktop.
This file contains hidden or 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
// : String | |
const name = "Kurtis Rainbolt-Greene" | |
// : Array of String | |
const friends = [ | |
"Jack", | |
"Jill" | |
] | |
// : String -> Boolean | |
const isJName = startsWith("J") | |
// : String -> Object where "name" is String, "age" is Integer | |
const fetch = (uuid) => database.table("users").where({id: uuid}).first() | |
// : Message as Map where "body" is String, "timestamp" is Date | |
// : History as Array of Message | |
// : History -> Integer | |
const analyze = (history) => withModel("slurs", history) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment