Re: using contrib functions

2014-04-03 Thread PlĂ­nio Balduino
You can copy the source to your project or write your own. That function basically wraps Socket and SocketServer Java classes inside a loop/recur infinite loop. Exactly as you already did with Java. Regards Plinio Balduino 11 982 611 487 > On 03/04/2014, at 22:27, Alex Wang wrote: > > I

Re: using contrib functions

2014-04-03 Thread Alex Wang
It seems no replacement for 'clojure.contrib.server-socket', any suggestions or libs for socket programming? On Sat, Mar 29, 2014 at 11:05 AM, Sean Corfield wrote: > On Mar 28, 2014, at 7:40 PM, Christopher Howard > wrote: > > I wanted to try out this Contrib function describe on this > > pag

Re: using contrib functions

2014-04-01 Thread Herwig Hochleitner
2014-03-29 3:40 GMT+01:00 Christopher Howard : > > Is that "webnf" package the thing I am supposed to put in my > "dependencies" list? Version 0.0.1 doesn't sound right. Or am I > supposed to download something myself and throw it in my lib > directory? > For clarification: webnf.deps packages are

Re: using contrib functions

2014-03-31 Thread Sean Corfield
Thank you. I just submitted an edit to remove the link to the richhickey.github.com repo since that's so outdated, and add a note about clojure.contrib no longer being maintained. It's a slow process to update the web to remove all the outdated stuff :) Sean On Mon, Mar 31, 2014 at 5:06 PM, Chris

Re: using contrib functions

2014-03-31 Thread Christopher Howard
On Fri, 28 Mar 2014 20:06:59 -0700 Sean Corfield wrote: > BTW, where did you find the references to defadt and > clojure.contrib.types? Perhaps we can get the original references > updated so people aren't misled in future... > > Sean > I think it was this old StackOverflow post: http://stack

Re: using contrib functions

2014-03-29 Thread Sean Corfield
On Mar 29, 2014, at 9:39 AM, Sam Ritchie wrote: > defadt defines an algebraic data type - so, imagine a record with a finite > number of implementations (Boolean is an algebraic data type since it only > has "true" and "false", for example. Chess pieces would be another one.) > > Once you defin

Re: using contrib functions

2014-03-29 Thread Sam Ritchie
defadt defines an algebraic data type - so, imagine a record with a finite number of implementations (Boolean is an algebraic data type since it only has "true" and "false", for example. Chess pieces would be another one.) Once you define an ADT you can use that contrib library's "match" macro

Re: using contrib functions

2014-03-28 Thread John Gabriele
On Friday, March 28, 2014 10:40:55 PM UTC-4, Christopher Howard wrote: > > Hi. --Insert here the usual caveats about being new to Clojure and > Java.-- > > I wanted to try out this Contrib function describe on this > page > < > http://richhickey.github.io/clojure-contrib/types-api.html#clojure.

Re: using contrib functions

2014-03-28 Thread Sean Corfield
BTW, where did you find the references to defadt and clojure.contrib.types? Perhaps we can get the original references updated so people aren't misled in future... Sean On Mar 28, 2014, at 8:05 PM, Sean Corfield wrote: > On Mar 28, 2014, at 7:40 PM, Christopher Howard wrote: >> I wanted to tr

Re: using contrib functions

2014-03-28 Thread Sean Corfield
On Mar 28, 2014, at 7:40 PM, Christopher Howard wrote: > I wanted to try out this Contrib function describe on this > page > . > How > do I get that in my project? Trying to follow documentation, I did That'

using contrib functions

2014-03-28 Thread Christopher Howard
Hi. --Insert here the usual caveats about being new to Clojure and Java.-- I wanted to try out this Contrib function describe on this page . How do I get that in my project? Trying to follow documentation, I