Skip to content

some examples of Clojure functional programming code for learning purposes

Notifications You must be signed in to change notification settings

Chakib-DAII/clojure-examples

Repository files navigation

Clojure code examples

Here are some sample codes I created in the phase of learning clojure.

you can find some useful links:

Clojure Official Website.

Clojure Guides.

Clojure reference.

Clojure Docs.

Clojure JavaDocs.

Clojure Core Docs : search for keywords.

Clojure API cheatsheet.

Clojure Features.

Clojure Github.

Community Resources.

Community: Ask Clojure.

Community: Clojure Verse.

Learning: 4ever-clojure.

Learning: Exercism.

Learning: Maria cloud.

Learning: Quil.

Requirements

To run this code you need Leiningen.

These tutorials will work on JDK 6 through 17 (Oracle or OpenJDK).

Code

Code examples can be executed via lein run:

To learn more, visit Langohr documentation site.

RabbitMQ

Tutorial one: "Hello World!"

lein run -m rabbitmq.tutorials.send
lein run -m rabbitmq.tutorials.receive

Tutorial two: Work Queues

lein run -m rabbitmq.tutorials.new-task
lein run -m rabbitmq.tutorials.worker

Tutorial three: Publish/Subscribe

lein run -m rabbitmq.tutorials.receive-logs
lein run -m rabbitmq.tutorials.emit-log

Tutorial four: Routing

lein run -m rabbitmq.tutorials.receive-logs-direct
lein run -m rabbitmq.tutorials.emit-log-direct info

Tutorial five: Topics

lein run -m rabbitmq.tutorials.receive-logs-topic
lein run -m rabbitmq.tutorials.emit-log-topic info

Tutorial six: RPC

lein run -m rabbitmq.tutorials.rpc-server
lein run -m rabbitmq.tutorials.rpc-client

Here also you can find Clojure code examples from RabbitMQ tutorials.

About

some examples of Clojure functional programming code for learning purposes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published