Keywords

Keywords are the strangest of the basic value types, they don’t have a real world analog like numbers, strings, or booleans.

For now you can think of them as a special type of string, but has super powers when used with maps.

:forename
:surname
:date-of-birth

Evaluate some Keyword values in the REPL

Type a keyword into the REPL to see what is returned.

Ensure you start your keyword with a colon, :

:i-am-a-keyword

Hint

Keywords should make more sense when as we start looking at the map data structure in Clojure

results matching ""

    No results matching ""