-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
The app.md lesson might go more smoothly with a few changes to the shell-project version of global-growth. If the current version is also used for other lessons that would be impacted by these changes, please consider an alternate branch for the proposed app.md version.
*1. Add the following constants and helpers to core.clj:
;; CONSTANTS
(def base-uri "http://api.worldbank.org")
(def list-size 10)
(defn parse-json [str]
(json/parse-string str true))*2. Add a line calling out
;; SUPPORTING FUNCTIONSabove the pre-populated supporting functions section.
*3. Include the complete lines for:
(defn view-ind
[indicator1 indicator2 year]
(let [inds1 (sorted-indicator-map
(get-indicator-all indicator1 year :country :value))
inds2 (sorted-indicator-map
(get-indicator-all indicator2 year :country :value))]instead of:
(defn view-ind
[indicator1 indicator2 year]
(let [inds1 (<<FILL IN THE BLANK>>)
inds2 (<<FILL IN THE BLANK>>)]Metadata
Metadata
Assignees
Labels
No labels