Skip to content

Instantly share code, notes, and snippets.

@axurright
Last active November 24, 2024 16:18
Show Gist options
  • Select an option

  • Save axurright/39f1b7fb106418a3346d2c4f4ff37a06 to your computer and use it in GitHub Desktop.

Select an option

Save axurright/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