Kelvin,
Andy's reply is the key. You need to switch Gorilla REPL to the patched
version.
Your plugins line should contain: [org.clojars.benfb/lein-gorilla "0.6.0"]
Cheers,
Sean
On Thursday, October 10, 2019 at 2:37:41 PM UTC-4, Kelvin T wrote:
>
> My project.clj is as follows:
>
> (defproject
My project.clj is as follows:
(defproject exercises "0.1.0-SNAPSHOT"
:description "Source code and exercise worksheets for the PPAML summer
school on Anglican"
:url "https://bitbucket.org/probprog/ppaml-summer-school-2016/;
:license {:name "Eclipse Public License"
:url
Well, it's not OP's file, the bad file is ring/util/mime_type.clj, which
looks like it was fixed in 2014
(https://github.com/ring-clojure/ring/commit/a05e026d85611cb179a1352d569d7c68713f792c#diff-ed2c15fc701c576b461d6967f0f81e91),
so must need to pull in a newer version somewhere.
On
The important bit is the part that says ":val ((require [clojure.string :as
str]))". I believe that is telling you that you have "(require
[clojure.string :as str])" inside your namespace declaration, but you need
":require" (leading colon) instead of "require" when you're putting it
inside the
I do not know if you are trying the instructions on this web page or not:
http://gorilla-repl.org/start.html
If so, I got the same error.
It appears that the sample project.clj file there only works with some
older versions of Clojure-related software, which I have not determined.
With
This is my first time working with clojure, and I am struggling to run
gorilla repl. Any help would be greatly appreciated.
Below is the stack trace:
clojure.lang.Compiler$CompilerException: Syntax error macroexpanding
clojure.core/ns at (ring/util/mime_type.clj:1:1).
#:clojure.error{:phase