We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
int-set
(ns day99 (:require [clojure.data.int-map :as i])) (into (i/int-set) [1 2 3 4])
The problem appears for both i/int-set and i/dense-int-set. The i/int-map is not affected.
i/int-set
i/dense-int-set
i/int-map
Trying to build the code above with Clerk produces:
{:via [{:type java.lang.AbstractMethodError, :message "Method clojure/data/int_map/PersistentIntSet.toArray()[Ljava/lang/Object; is abstract", :at [clojure.data.int_map.PersistentIntSet toArray "int_map.clj" -1]}], :trace [[clojure.data.int_map.PersistentIntSet toArray "int_map.clj" -1] [clojure.lang.RT toArray "RT.java" 1716] [clojure.core$to_array invokeStatic "core.clj" 346] [clojure.core$sort invokeStatic "core.clj" 3121] [clojure.core$sort invoke "core.clj" 3110] [nextjournal.clerk.viewer$ensure_sorted invokeStatic "viewer.cljc" 1399] [nextjournal.clerk.viewer$ensure_sorted invoke "viewer.cljc" 1395] [nextjournal.clerk.viewer$present_PLUS_paginate_children invokeStatic "viewer.cljc" 1626] [nextjournal.clerk.viewer$present_PLUS_paginate_children invoke "viewer.cljc" 1608] [nextjournal.clerk.viewer$present_STAR_ invokeStatic "viewer.cljc" 1686] [nextjournal.clerk.viewer$present_STAR_ invoke "viewer.cljc" 1664] [nextjournal.clerk.viewer$present invokeStatic "viewer.cljc" 1769] [nextjournal.clerk.viewer$present invoke "viewer.cljc" 1761] [nextjournal.clerk.viewer$transform_result invokeStatic "viewer.cljc" 542] [nextjournal.clerk.viewer$transform_result invoke "viewer.cljc" 526] [nextjournal.clerk.viewer$apply_viewers_STAR_ invokeStatic "viewer.cljc" 1461] [nextjournal.clerk.viewer$apply_viewers_STAR_ invoke "viewer.cljc" 1453] [nextjournal.clerk.viewer$present_STAR_ invokeStatic "viewer.cljc" 1671] [nextjournal.clerk.viewer$present_STAR_ invoke "viewer.cljc" 1664] [nextjournal.clerk.viewer$present_PLUS_paginate_children$fn__29814 invoke "viewer.cljc" 1624] [clojure.core$map_indexed$fn__8676$fn__8677 invoke "core.clj" 7490] [clojure.lang.PersistentVector reduce "PersistentVector.java" 418] [clojure.core$transduce invokeStatic "core.clj" 7025] [clojure.core$into invokeStatic "core.clj" 7042] [clojure.core$into invoke "core.clj" 7029] [nextjournal.clerk.viewer$present_PLUS_paginate_children invokeStatic "viewer.cljc" 1622] [nextjournal.clerk.viewer$present_PLUS_paginate_children invoke "viewer.cljc" 1608] [nextjournal.clerk.viewer$present_STAR_ invokeStatic "viewer.cljc" 1686] [nextjournal.clerk.viewer$present_STAR_ invoke "viewer.cljc" 1664] [nextjournal.clerk.viewer$present invokeStatic "viewer.cljc" 1769] [nextjournal.clerk.viewer$present invoke "viewer.cljc" 1761] [clojure.core$comp$fn__5895 invoke "core.clj" 2586] [clojure.core$map$fn__5950$fn__5951 invoke "core.clj" 2759] [clojure.core$preserving_reduced$fn__8890 invoke "core.clj" 7806] [clojure.lang.PersistentVector reduce "PersistentVector.java" 418] [clojure.core$reduce invokeStatic "core.clj" 6964] [clojure.core$cat$fn__8893 invoke "core.clj" 7817] [clojure.core$map$fn__5950$fn__5951 invoke "core.clj" 2759] [clojure.lang.PersistentVector reduce "PersistentVector.java" 418] [clojure.core$transduce invokeStatic "core.clj" 7025] [clojure.core$into invokeStatic "core.clj" 7042] [clojure.core$into invoke "core.clj" 7029] [clojure.core$partial$fn__5929 invoke "core.clj" 2648] [clojure.core$update invokeStatic "core.clj" 6259] [clojure.core$update invoke "core.clj" 6251] [nextjournal.clerk.viewer$process_blocks invokeStatic "viewer.cljc" 1272] [nextjournal.clerk.viewer$process_blocks invoke "viewer.cljc" 1268] [clojure.core$partial$fn__5927 invoke "core.clj" 2641] [clojure.core$update invokeStatic "core.clj" 6259] [clojure.core$update invoke "core.clj" 6251] [nextjournal.clerk.viewer$fn__29713 invokeStatic "viewer.cljc" 1301] [nextjournal.clerk.viewer$fn__29713 invoke "viewer.cljc" 1299] [nextjournal.clerk.viewer$apply_viewers_STAR_ invokeStatic "viewer.cljc" 1461] [nextjournal.clerk.viewer$apply_viewers_STAR_ invoke "viewer.cljc" 1453] [nextjournal.clerk.viewer$present_STAR_ invokeStatic "viewer.cljc" 1671] [nextjournal.clerk.viewer$present_STAR_ invoke "viewer.cljc" 1664] [nextjournal.clerk.viewer$present invokeStatic "viewer.cljc" 1769] [nextjournal.clerk.viewer$present invoke "viewer.cljc" 1761] [nextjournal.clerk.view$doc__GT_viewer invokeStatic "view.clj" 13] [nextjournal.clerk.view$doc__GT_viewer invoke "view.clj" 9] [nextjournal.clerk.view$doc__GT_viewer invokeStatic "view.clj" 10] [nextjournal.clerk.view$doc__GT_viewer invoke "view.clj" 9] [nextjournal.clerk.webserver$present_PLUS_reset_BANG_ invokeStatic "webserver.clj" 144] [nextjournal.clerk.webserver$present_PLUS_reset_BANG_ invoke "webserver.clj" 143] [nextjournal.clerk.webserver$update_doc_BANG_ invokeStatic "webserver.clj" 157] [nextjournal.clerk.webserver$update_doc_BANG_ invoke "webserver.clj" 155] [nextjournal.clerk$show_BANG_ invokeStatic "clerk.clj" 76] [nextjournal.clerk$show_BANG_ invoke "clerk.clj" 22] [clojure.lang.Var invoke "Var.java" 390] [nextjournal.clerk.webserver$show_BANG_ invokeStatic "webserver.clj" 273] [nextjournal.clerk.webserver$show_BANG_ invoke "webserver.clj" 271] [nextjournal.clerk.webserver$serve_notebook$fn__32928 invoke "webserver.clj" 310] [nextjournal.clerk.webserver$serve_notebook invokeStatic "webserver.clj" 310] [nextjournal.clerk.webserver$serve_notebook invoke "webserver.clj" 294] [nextjournal.clerk.webserver$app invokeStatic "webserver.clj" 335] [nextjournal.clerk.webserver$app invoke "webserver.clj" 324] [clojure.lang.Var invoke "Var.java" 386] [org.httpkit.server$wrap_ring_websocket$ring_handler_STAR___32593 invoke "server.clj" 437] [org.httpkit.server.HttpHandler runSync "RingHandler.java" 144] [org.httpkit.server.HttpHandler run "RingHandler.java" 138] [java.util.concurrent.Executors$RunnableAdapter call "Executors.java" 572] [java.util.concurrent.FutureTask run "FutureTask.java" 317] [java.lang.VirtualThread run "VirtualThread.java" 329]], :cause "Method clojure/data/int_map/PersistentIntSet.toArray()[Ljava/lang/Object; is abstract"}
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The problem appears for both
i/int-set
andi/dense-int-set
. Thei/int-map
is not affected.Trying to build the code above with Clerk produces:
The text was updated successfully, but these errors were encountered: