ddillinger@ip-10-150-36-33:~> ./test-query.sh
./test-query.sh
API Location: https://api.dev.discoverstor.net
Account ID: fbc7d50f-bda0-4534-94e9-e65a2b52d692
User: sonian
Password: sonian123
Query: (and (contains body \"S\"))
API Token: https://api.dev.discoverstor.net/fbc7d50f-bda0-4534-94e9-e65a2b52d692/auth/v1/sessions/de6fd20c-ee5c-4637-989b-752fabf32831
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 monty.core) | |
;; game setup and rules | |
(defn gen-doors | |
"Generates a shuffled triple vector of two :goat and one :car entry." | |
[] | |
(shuffle [:goat :goat :car])) | |
(defn choose | |
"Randomly chooses an index into the doors and returns it." |
NewerOlder