symbols

~

creates a reference point. center yourself here. you are in many places at once.

:

creates a locally unique alias (an "atom") which refers to a particular resource by its "true name".

%

creates a direct link to a resource this is the "true name".

@

access related atoms by name.

examples

keep in mind that only a "true name" is globally unique. your atoms and the related atoms that you can access using @ syntax are only lables.

;; bind an atom to a ref (a public key in this case) and print some related data
(let ((:xj9 %ceeffec8fd2b2c49bafa154640f662d1aeeca7a22e34137aad204ba1d53d2fba.sha256))
     (print (:xj9 @journal))
;; equivalent statements for accessing named resources
(let ((:journal (~ @journal)))
     (print :journal))
(print (~ @journal))

results matching ""

    No results matching ""