Skip to content

Instantly share code, notes, and snippets.

@BluePyTheDeer251
Last active November 24, 2024 16:18
Show Gist options
  • Save BluePyTheDeer251/39f1b7fb106418a3346d2c4f4ff37a06 to your computer and use it in GitHub Desktop.
Save BluePyTheDeer251/39f1b7fb106418a3346d2c4f4ff37a06 to your computer and use it in GitHub Desktop.
A message system (with more functionality) in Clojure.
(defn localMessageSys [message]
(println "Your message: ")
(str message))
(defn recieverMessageSys [receiverMessage]
(println "The other person's message: ")
(str receiverMessage))
(localMessageSys "Hello, Friend!")
(recieverMessageSys "Hello, what's up?")
(localMessageSys "I am programming in Clojure!")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment