RE: detecting running as script

2018-06-12 Thread Sean Corfield
I thought this was the go-to library for command line parsing:

https://github.com/clojure/tools.cli

I believe it is, yes. Some history:

  *   I think clojure.contrib.command-line was created by Chris Houser and 
maintained mostly by Stuart Sierra (until 2011). It was deprecated along with 
everything else in “Monolithic Contrib” as part of the Clojure 1.3 release.
  *   clojure.tools.cli was originally created by Gareth Jones from the Clargon 
library (starting in 2011)
  *   For the 0.3.0 release, Sung Pae took over and rewrote it based on his 
optparse-clj library and included ClojureScript support (starting in 2013)
  *   I took over as maintainer for the 0.3.2 release (starting in 2015) and 
I’m happy to look at any enhancement requests or features offered by any other 
command line argument parsing library that folks make me aware of!

Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN
An Architect's View -- http://corfield.org/

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood


From: clojure@googlegroups.com  on behalf of Patrik 
Sundberg 
Sent: Tuesday, June 12, 2018 6:13:39 AM
To: Clojure
Subject: Re: detecting running as script

I thought this was the go-to library for command line parsing:

https://github.com/clojure/tools.cli

On Wednesday, January 14, 2009 at 7:11:23 PM UTC, Grunde Løvoll wrote:
Thanks!

I'll have a look at clojure.contrib.command-line. I don't need
anything super-powerfull, just something that make it easy to define
and parse command line arguments in the "normal manner".

Sorry about my previous double post :(

Grunde

On Wed, Jan 14, 2009 at 6:00 PM, Chouser > wrote:
>
> On Wed, Jan 14, 2009 at 5:58 AM, Grunde > 
> wrote:
>>
>> Now, it these some elegant way to parse and use the passed command
>> line arguments in my program? Is there any lib like Ruby/Pythons
>> optparse to assist parsing of command line arguments?
>
> There is clojure.contrib.command-line
>
> I don't know if it's elegant, and it's certainly not (yet) as powerful
> as many optparse tools in some other languages, but I've found it to
> be useful.
>
> --Chouser
>
> >
>

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


ClojuTRE & SmallFP Goes Helsinki, 13-14.9.

2018-06-12 Thread Tommi Reiman


Happy to announce that there will also be a SmallFP this year, a satellite 
conf on functional programming on day before ClojuTRE! Last year we had 
talks about Scala, PureScript, ClojureScript, F# and Haskell. Paying for a 
ticket gets you to both events - both free for students and those unable to 
pay for the ticket.


Important dates:

   - Call for speakers for ClojuTRE closes on June 17th (this Sunday!)
   - Call for speakers for SmallFP just opened and is open until June 30th.
   - The event: 13-14.9. in Helsinki, Finland

More info with links to past years at https://clojutre.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.


Re: Best Book for Clojure

2018-06-12 Thread Rick Mangi
They also have an online version for free. It's a great book.
https://www.braveclojure.com/

On Tue, Jun 12, 2018 at 10:25 AM Ashima Athri  wrote:

> Just to provide my experience in case someone else wanders across this
> post and finds it helpful, I'm currently reading "Clojure for the Brave and
> True" and find it a fun and fast read, especially as the examples have
> equivalents in JS and Ruby which I'm comfortable with. I think it's a good
> introduction to the language and sets me up to read more in-depth books
> like Clojure Programming which is next on my reading list. Although as
> someone else mentioned, zombies and vampires might not be your cup of tea
> (or coffee) :D
>
> - Ashima
>
> On Tuesday, 13 March 2018 20:44:55 UTC-4, pbi...@gmail.com wrote:
>>
>> I want to buy a  book.
>> Which is the best book for clojure?
>>
>>
>> --
> 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: Best Book for Clojure

2018-06-12 Thread Ashima Athri
Just to provide my experience in case someone else wanders across this post 
and finds it helpful, I'm currently reading "Clojure for the Brave and 
True" and find it a fun and fast read, especially as the examples have 
equivalents in JS and Ruby which I'm comfortable with. I think it's a good 
introduction to the language and sets me up to read more in-depth books 
like Clojure Programming which is next on my reading list. Although as 
someone else mentioned, zombies and vampires might not be your cup of tea 
(or coffee) :D

- Ashima

On Tuesday, 13 March 2018 20:44:55 UTC-4, pbi...@gmail.com wrote:
>
> I want to buy a  book.
> Which is the best book for clojure?
>
>
>

-- 
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: detecting running as script

2018-06-12 Thread Patrik Sundberg
I thought this was the go-to library for command line parsing:

https://github.com/clojure/tools.cli

On Wednesday, January 14, 2009 at 7:11:23 PM UTC, Grunde Løvoll wrote:
>
> Thanks! 
>
> I'll have a look at clojure.contrib.command-line. I don't need 
> anything super-powerfull, just something that make it easy to define 
> and parse command line arguments in the "normal manner". 
>
> Sorry about my previous double post :( 
>
> Grunde 
>
> On Wed, Jan 14, 2009 at 6:00 PM, Chouser > 
> wrote: 
> > 
> > On Wed, Jan 14, 2009 at 5:58 AM, Grunde  > wrote: 
> >> 
> >> Now, it these some elegant way to parse and use the passed command 
> >> line arguments in my program? Is there any lib like Ruby/Pythons 
> >> optparse to assist parsing of command line arguments? 
> > 
> > There is clojure.contrib.command-line 
> > 
> > I don't know if it's elegant, and it's certainly not (yet) as powerful 
> > as many optparse tools in some other languages, but I've found it to 
> > be useful. 
> > 
> > --Chouser 
> > 
> > > 
> > 
>

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