Re: deps.edn dependency whose name starts with a number

2021-05-15 Thread 'Alex Miller' via Clojure
I don't think there is any workaround for this, it's the first time I've 
seen someone run into this. I'll log it and think about a solution.

On Saturday, May 15, 2021 at 6:22:41 PM UTC-5 zk wrote:

> Is there a way to specify a dependency whose name starts with a number? 
> For example:
>
> ```
> {:deps {com.github.2captcha/2captcha-java {:mvn/version "1.0.1"}}}
> ```
>
> will error with
>
> ```
> Error building classpath. Error reading edn. Invalid token: 
> com.github.2captcha/2captcha-java (/Users/zk/code/monorepo/web/deps.edn)
> ```
>
> due to the fact that symbols can't start with a numeric character.
>
> I've tried using a string in its place but no dice. I couldn't find 
> anything in the documentation on how to resolve this. Has anybody else run 
> into this situation?
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/clojure/ada4da39-b2b1-4a45-9173-91c0b3f19558n%40googlegroups.com.


deps.edn dependency whose name starts with a number

2021-05-15 Thread zk
Is there a way to specify a dependency whose name starts with a number? For 
example:

```
{:deps {com.github.2captcha/2captcha-java {:mvn/version "1.0.1"}}}
```

will error with

```
Error building classpath. Error reading edn. Invalid token: 
com.github.2captcha/2captcha-java (/Users/zk/code/monorepo/web/deps.edn)
```

due to the fact that symbols can't start with a numeric character.

I've tried using a string in its place but no dice. I couldn't find 
anything in the documentation on how to resolve this. Has anybody else run 
into this situation?

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/clojure/44ad71da-5076-4f14-a3e1-a8321d9d277fn%40googlegroups.com.