Skip to content

Instantly share code, notes, and snippets.

@patham9
Last active October 30, 2023 18:07
Show Gist options
  • Save patham9/aeb95de7eb50d81837d687a6e9335593 to your computer and use it in GitHub Desktop.
Save patham9/aeb95de7eb50d81837d687a6e9335593 to your computer and use it in GitHub Desktop.
(! (add-atom '&self ('coffee 'moka)))
(! (add-atom '&self ('coffee 'turkish)))
(= (myMultiFunction 'moka) ('moka 'good))
(= (myMultiFunction 'moka) ('moka 'excellent))
(! (Let w (superpose ('big 'small myMultiFunction))
(Match '&self ('coffee x) (w x))))
Output:
;[((big turkish)), ((big moka)), ((small turkish)), ((small moka)), ((moka excellent)), ((moka good))]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment