Skip to content

Add documentation on REPL Driven Development #118

Open
@oxalorg

Description

@oxalorg

How to use this project with the REPL can immensely help beginners/new contributors.

For example testing queries directly with the REPL can be done like this:

;; in the repl.clj file
(comment
  (require '[clojurians-log.db.queries :as queries])
  (d/q '[:find ?msg
         :where
         [?chan :channel/name "clojure"]
         [?msg :message/channel ?chan]]
     (db))
 )

Ensure the repl.clj file is loaded in the REPL and then evaluate everything inside the comment form.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions