Comments (8)
Reducers has been in Clojure for a decade... is it possible this is a lein clean
problem?
from elle.
Oh, gosh, "Clojure 1.2.1"? That's fourteen years old, haha. That probably explains it!
from elle.
Oh, gosh, "Clojure 1.2.1"? That's fourteen years old, haha. That probably explains it!
It is really strange. JAR file runs Clojure 1.2.1, but version of the system-installed Clojure is 1.11.1.
[0] ~/sources/elle-cli/elle$ java -jar /home/sergeyb/sources/elle-cli/elle/target/elle-0.1.8-standalone.jar
Clojure 1.2.1
user=>
[0] ~/sources/elle-cli/elle$ java -jar /home/sergeyb/sources/elle-cli/elle/target/elle-0.1.8-standalone.jar ^C
[0] ~/sources/elle-cli/elle$ clojure
Clojure 1.11.1
user=>
from elle.
from elle.
But Demo section in the README 1 describes a REPL...
Footnotes
from elle.
Using elle
with a standalone Clojure REPL doesn't work as well:
[0] ~/sources/elle-cli/elle$ clojure
Clojure 1.11.1
user=> (require '[elle.list-append :as a]
'[jepsen.history :as h])
Execution error (FileNotFoundException) at elle.list-append/eval142$loading (list_append.clj:1).
Could not locate clojure/tools/logging__init.class, clojure/tools/logging.clj or clojure/tools/logging.cljc on classpath.
user=>
from elle.
Yeah, lein repl
provides a REPL for any project and sets up the classpath with all the necessary libraries. You'll have to set up the classpath yourself if you don't want to use Leiningen for some reason.
from elle.
lein repl
works fine:
[0] ~/sources/elle-cli/elle$ lein repl
nREPL server started on port 42839 on host 127.0.0.1 - nrepl://127.0.0.1:42839
REPL-y 0.4.3, nREPL 0.6.0
Clojure 1.11.1
OpenJDK 64-Bit Server VM 11.0.21+9-post-Ubuntu-0ubuntu122.04
Docs: (doc function-name-here)
(find-doc "part-of-name-here")
Source: (source function-name-here)
Javadoc: (javadoc java-object-or-class-here)
Exit: Control+D or (exit) or (quit)
Results: Stored in vars *1, *2, *3, an exception in *e
elle.core=> (require '[elle.list-append :as a]
#_=> '[jepsen.history :as h])
nil
elle.core=>
I'll close a ticket, because the problem was due to library misuse.
@aphyr, thanks for help!
from elle.
Related Issues (17)
- Publish jar files for each release HOT 10
- Could I check a history that with real-time order HOT 7
- Could Elle tell the difference between snapshot isolation and strong-session-snapshot-isolation? HOT 7
- Example with list-append history is broken in 0.1.6 HOT 1
- Elle couldn't check list-append example described in a paper HOT 2
- Elle may miss two types of transaction anomalies: HOT 4
- list-append/sorted-values might be broken with history object HOT 3
- Is there any example on how to use the gen function? HOT 2
- PL-2L(monotonic-view) G-monotonic: experiment with adding the anomaly HOT 2
- Modeling linearizable keys with the list-append workload HOT 7
- False positive on lost update HOT 2
- Example for running test-cases with Elle? HOT 1
- Build fails with `lein check` HOT 4
- Elle checks :fail results? HOT 1
- The rw-register checker succeeds on the history: wx1, rx2.
- Feature: add delete operation HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from elle.