You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 10, 2023. It is now read-only.
resources/data_readers.clj defines the reader function
{joda/inst taskmaster.util/->joda-inst}
src/tagmaster/util.clj contains
(ns taskmaster.util
(:import org.joda.time.DateTime))
(defmacro while-let
"Makes it easy to continue processing an expression as long as it is true"
[binding & forms]
`(loop []
(when-let ~binding
~@forms
(recur))))
;; Configure the printer
(defmethod print-method org.joda.time.DateTime
[dt out]
(.write out (str "#joda/inst \"" (.toString dt) "\"")))
(defmethod print-dup org.joda.time.DateTime
[dt out]
(.write out (str "#joda/inst \"" (.toString dt) "\"")))
;; Utility function for the reader
(defn ->joda-inst [time-str]
(org.joda.time.DateTime/parse time-str))
The text was updated successfully, but these errors were encountered:
The following code works in
lein repl
from namespacedev=>
But in
proto-repl
it throws exceptionBut the qualified function in the exception does resolve at
proto-repl
resources/data_readers.clj defines the reader function
src/tagmaster/util.clj contains
The text was updated successfully, but these errors were encountered: