Re: deprecation warnings?

2015-10-20 Thread Bozhidar Batsov
You should! It will be the biggest and greatest CIDER release ever. It will
likely be the most postponed release ever as well. :-)

On 21 October 2015 at 04:42, James Elliott  wrote:

> Sweet, I’m starting to really look forward to that release. :D
>
>
> On Monday, October 19, 2015 at 10:54:04 AM UTC-5, Lars Andersen wrote:
>>
>> Font-locking of deprecated vars was just added to CIDER.  It's available
>> in snapshots now, and will be included in 0.10.
>>
>> On Wednesday, October 14, 2015 at 6:09:21 PM UTC+2, William la Forge
>> wrote:
>>>
>>> Going forward, I'd like to deprecate some functions and have a warning
>>> displayed on first use. So I've done this:
>>>
>>> (def emptyAAMap ^{:deprecated "0.3.4"}
>>>   (new AAMap emptyNode {:comparator RT/DEFAULT_COMPARATOR}))
>>>
>>>
>>> But I am not seeing any warnings from either lein or cursive. Do I need
>>> to add a plugin?
>>>
>>> Thanks!
>>>
>> --
> 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.
>

-- 
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.


Re: deprecation warnings?

2015-10-20 Thread James Elliott
Sweet, I’m starting to really look forward to that release. :D

On Monday, October 19, 2015 at 10:54:04 AM UTC-5, Lars Andersen wrote:
>
> Font-locking of deprecated vars was just added to CIDER.  It's available 
> in snapshots now, and will be included in 0.10.
>
> On Wednesday, October 14, 2015 at 6:09:21 PM UTC+2, William la Forge wrote:
>>
>> Going forward, I'd like to deprecate some functions and have a warning 
>> displayed on first use. So I've done this:
>>
>> (def emptyAAMap ^{:deprecated "0.3.4"}
>>   (new AAMap emptyNode {:comparator RT/DEFAULT_COMPARATOR}))
>>
>>
>> But I am not seeing any warnings from either lein or cursive. Do I need 
>> to add a plugin?
>>
>> Thanks!
>>
>

-- 
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.


Re: ClojureCLR setup guide/examples?

2015-10-20 Thread Fluid Dynamics
On Tuesday, October 20, 2015 at 4:36:43 PM UTC-4, dmiller wrote:
>
> Most documentation, such as it is, is on the github wiki:  
> https://github.com/clojure/clojure-clr/wiki
> Nothing written recently on such things as deploying web services.
>

If you want to deploy web services, you're probably better off using a 
mature, FOSS, JVM-based solution and ClojureJVM rather than one of 
Microsoft's expensive and insecure server products.

As I see it, the main value of ClojureCLR is that it can be used to develop 
native-ish desktop applications for Windows, which won't have JVM 
dependencies or startup-time issues and will have a Windows-native look and 
feel. For everything else, the JVM seems likely to be superior, other than 
in-browser execution, where Clojurescript shines. 

-- 
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.


Re: ClojureCLR setup guide/examples?

2015-10-20 Thread dmiller
Most documentation, such as it is, is on the github wiki: 
 https://github.com/clojure/clojure-clr/wiki
Nothing written recently on such things as deploying web services.

There is a separate list for ClojureCLR where you might get more 
answers: https://groups.google.com/forum/#!forum/clojure-clr

I just got a Win10 box to play on -- haven't tried deployment there yet.  I 
would be interested in any problems you have experienced.

-David





On Sunday, October 18, 2015 at 11:06:45 AM UTC-5, Rui Carmo wrote:
>
> Hello guys,
>
> I'm re-investing in the .NET ecosystem, and decided to try my hand at 
> adding ClojureCLR to the mix given my very positive experience with the JVM 
> version.
>
> However, I'm having trouble with two basic things:
>
> - I can't find a comprehensive guide regarding setting up a working 
> ClojureCLR environment under Windows (8 or 10), so it took me three tries 
> to get a moderately usable REPL
> - the vsClojure extension doesn't support Visual Studio 2015 (I've found a 
> fork that seems to have been updated, but haven't managed to rebuild it yet)
>
> That and the lack of documentation regarding deployments (is there a 
> recommended way to deploy a web service written in ClojureCLR? examples of 
> working with a database?) have prevented me from making any significant 
> headway, so I'd appreciate any pointers, especially from people who are 
> currently using ClojureCLR successfully.
>
> (and I apologise for saying this, but I don't want to use the JVM version 
> under Windows - I'm perfectly happy with using it on Linux, including ARM 
> servers, but the purpose of this exercise is to glue together existing C# 
> assemblies).
>
> Regards,
>
> R.
>
>

-- 
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.


Re: Is there a table of content for the whole clojure.org website?

2015-10-20 Thread Alex Miller
No, there is no "site map" of the whole thing although every page should be 
reachable from the left nav. Most pages are either in that top level or 1 
step from Features or Documentation.

On Tuesday, October 20, 2015 at 10:07:27 AM UTC-5, Aseem Bansal wrote:
>
> I mean for all the topics? There are certain topics under Rationale, 
> others under Documentation. Is there one common TOC? 
>
> Just wanted something like single.html where all the docs are so I could 
> start picking topics which seem most interesting. Obviously the other 
> option is using google search for Clojure.org
>

-- 
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.


Is there a table of content for the whole clojure.org website?

2015-10-20 Thread Aseem Bansal
I mean for all the topics? There are certain topics under Rationale, others 
under Documentation. Is there one common TOC? 

Just wanted something like single.html where all the docs are so I could 
start picking topics which seem most interesting. Obviously the other 
option is using google search for Clojure.org

-- 
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.


Retrieving generic type of an object

2015-10-20 Thread Timur
Hi all,

Are there any functions to get generic type of an object object method, 
field, etc.? By calling object methods, I achieve this with the following 
function:

(defn- get-generic-type-of-an-instance-method
  [m]
  {:pre [(:obj m)
 (:method-name m)]}
  (-> m
  :obj
  type
  (.getDeclaredMethod (:method-name m) (into-array java.lang.Class []))
  .getGenericReturnType
  (.getActualTypeArguments)
  (get 0)))

-- 
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.