Last active
October 30, 2023 18:07
-
-
Save patham9/aeb95de7eb50d81837d687a6e9335593 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(! (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