Skip to content

Instantly share code, notes, and snippets.

@apogiatzis
Created December 2, 2021 00:27
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 apogiatzis/ffd3df130d69e51580671b5b7e47a72d to your computer and use it in GitHub Desktop.
Save apogiatzis/ffd3df130d69e51580671b5b7e47a72d to your computer and use it in GitHub Desktop.
(def gemstone-db {
:ruby {
:name "Ruby"
:stock 120
:sales [1990 3644 6376 4918 7882 6747 7495 8573 5097 1712]
:properties {
:dispersion 0.018
:hardness 9.0
:refractive-index [1.77 1.78]
:color "Red"
}
}
:diamond {
:name "Diamond"
:stock 10
:sales [8295 329 5960 6118 4189 3436 9833 8870 9700 7182 7061 1579]
:properties {
:dispersion 0.044
:hardness 10
:refractive-index [2.417 2.419]
:color "Typically yellow, brown or gray to colorless"
}
}
:moissanite {
:name "Moissanite"
:stock 45
:sales [7761 3220]
:properties {
:dispersion 0.104
:hardness 9.5
:refractive-index [2.65 2.69]
:color "Colorless, green, yellow"
}
}
}
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment