D'oh! Sorry, I messed up. With the correct vector present I'm getting this 
then:

Don't know how to create ISeq from: clojure.lang.Keyword

Seems like you can optionally enable spec so that you'd get:

:all - failed: coll?

which is better, at least pointing in the general direction of the problem.

On Sunday, 31 March 2019 18:50:52 UTC+3, Orestis Markou wrote:
>
> I think the issue you are seeing is because you need to wrap the require 
> form in a vector:
>
> (:require [trybeta.foo :refer :all])
>
> Thanks,
> Orestis
>
> 31 Μαρ 2019, 4:19 μμ, ο χρήστης «Rakhim Davletkaliyev <rak...@rakhim.org 
> <javascript:>>» έγραψε:
>
> Hi Alex,
>
> With this beta + ClojureScript (v. 1.10.238), when trying to "refer all", 
> like so:
>
> (:require trybeta.something :refer :all)
>
> I get the following error:
>
> clojure.lang.ExceptionInfo: Only [lib.ns & options] and lib.ns specs 
> supported in :require / :require-macros; offending spec: :refer at line 1 
> <cljs repl> {:file "<cljs repl>", :line 1, :column 1, :root-source-info 
> {:source-type :fragment, :source-form (ns trybeta.core (:require 
> trybeta.something :refer :all))}, :tag :cljs/analysis-error}
>
> This is much better than "Don't know how to create ISeq from: 
> clojure.lang.Keyword" error present in previous versions!
>
> While I completely agree that "require all" is bad style and should not be 
> used, I think the error message could be a bit more specific still, 
> considering "refer all" is quite widespread in tutorials/examples, and 
> beginners like myself tend to try to use it when transitioning from Clojure 
> to ClojureScript.
>
> Maybe, isolate and display the offending part?
>
> I apologize if this suggestion is irrelevant, as I am out of my depth when 
> it comes to core Clojure and spec.
>
> Thank you!
>
> On Friday, 22 March 2019 06:35:32 UTC+2, Alex Miller wrote:
>>
>> 1.10.1-beta1 is now available. You can try it with clj using:
>>       clj -Sdeps '{:deps {org.clojure/clojure {:mvn/version 
>> "1.10.1-beta1"}}}'
>>
>> 1.10.1-beta1 includes the following changes since 1.10.0:
>>
>>    - CLJ-2484 <https://dev.clojure.org/jira/browse/CLJ-2484> - Fix Java 
>>    performance regression loading user.clj
>>    - CLJ-2463 <https://dev.clojure.org/jira/browse/CLJ-2463> - 
>>    clojure.main uncaught exception handling
>>    - CLJ-2491 <https://dev.clojure.org/jira/browse/CLJ-2491> - Fix 
>>    fragile tests that fail under Java 12
>>
>> The issue in CLJ-2484 was introduced in Java itself, specifically Java 
>> 1.8 u202, Java 11.0.2, and Java 12. It primarily affects loading of 
>> user.clj and can cause a significant load time difference for anything done 
>> in user.clj. CLJ-2463 affects how errors are reported from clojure.main. 
>> This includes many Clojure uses under tools like Leiningen, such as 
>> compile, test,  etc.  
>>
>> We would greatly appreciate feedback if you could check out this release 
>> in your own project and give it a try!! 
>>
> -- 
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clo...@googlegroups.com <javascript:>
> Note that posts from new members are moderated - please be patient with 
> your first post.
> To unsubscribe from this group, send email to
> clo...@googlegroups.com <javascript:>
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> --- 
> You received this message because you are subscribed to the Google Groups 
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to clo...@googlegroups.com <javascript:>.
> For more options, visit https://groups.google.com/d/optout.
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to