Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 612 Bytes

File metadata and controls

25 lines (18 loc) · 612 Bytes

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

Note::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