Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Proposal: Promote clojure.contrib.def to a "core" lib
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  7 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Chas Emerick  
View profile  
 More options Aug 14 2009, 12:10 pm
From: Chas Emerick <cemer...@snowtide.com>
Date: Fri, 14 Aug 2009 12:10:47 -0400
Local: Fri, Aug 14 2009 12:10 pm
Subject: Proposal: Promote clojure.contrib.def to a "core" lib
Seeing that some contrib libs have been promoted into the main clojure  
project, I'd like to suggest that the same be done for  
clojure.contrib.def (or, the majority of it).  We use it nearly  
everywhere, and I suspect many others do as well.

As a slight caveat, I'm not sure that the defalias, defhinted, or name-
with-attributes members in def are central enough and/or used enough  
to warrant promotion.  It seems reasonable that they'd be "left  
behind" in c.c.def, with the other forms promoted -- either into  
core.clj or into a clojure.def namespace.

Thoughts?

- Chas


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Daniel Lyons  
View profile  
 More options Aug 14 2009, 12:52 pm
From: Daniel Lyons <fus...@storytotell.org>
Date: Fri, 14 Aug 2009 10:52:07 -0600
Local: Fri, Aug 14 2009 12:52 pm
Subject: Re: Proposal: Promote clojure.contrib.def to a "core" lib

On Aug 14, 2009, at 10:10 AM, Chas Emerick wrote:

> Seeing that some contrib libs have been promoted into the main clojure
> project, I'd like to suggest that the same be done for
> clojure.contrib.def (or, the majority of it).  We use it nearly
> everywhere, and I suspect many others do as well.

> As a slight caveat, I'm not sure that the defalias, defhinted, or  
> name-
> with-attributes members in def are central enough and/or used enough
> to warrant promotion.  It seems reasonable that they'd be "left
> behind" in c.c.def, with the other forms promoted -- either into
> core.clj or into a clojure.def namespace.

> Thoughts?

I myself am rather fond of defvar. I'm for it.


Daniel Lyons


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sean Devlin  
View profile  
 More options Aug 14 2009, 1:21 pm
From: Sean Devlin <francoisdev...@gmail.com>
Date: Fri, 14 Aug 2009 10:21:13 -0700 (PDT)
Local: Fri, Aug 14 2009 1:21 pm
Subject: Re: Proposal: Promote clojure.contrib.def to a "core" lib
As long as the documentation doesn't disappear between the time the
library is removed from contrib and the appropriate version (1.1, 1.2)
of Clojure is released.

Not-so-subtle hint:
http://groups.google.com/group/clojure/browse_thread/thread/8f191d3a9...

Sean

On Aug 14, 12:52 pm, Daniel Lyons <fus...@storytotell.org> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jarkko Oranen  
View profile  
 More options Aug 14 2009, 1:53 pm
From: Jarkko Oranen <chous...@gmail.com>
Date: Fri, 14 Aug 2009 10:53:08 -0700 (PDT)
Local: Fri, Aug 14 2009 1:53 pm
Subject: Re: Proposal: Promote clojure.contrib.def to a "core" lib
I'm in favour.

Though, I think that a "def-" would be redundant if the defvar macros
are promoted. Perhaps it would be sensible to keep def as a the
underlying special form and just move in defvar, defvar- and
defmacro-.

I'm not sure whether defonce is useful enough that it should be moved
to core, so I'll abstain.

The larger macros (eg. defnk) should definitely remain in contrib.

--
Jarkko


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tom Faulhaber  
View profile  
 More options Aug 14 2009, 9:34 pm
From: Tom Faulhaber <tomfaulha...@gmail.com>
Date: Fri, 14 Aug 2009 18:34:18 -0700 (PDT)
Local: Fri, Aug 14 2009 9:34 pm
Subject: Re: Proposal: Promote clojure.contrib.def to a "core" lib
Docs for cutting edge Clojure are on the way. Rich said he was going
to think about the approach he wanted to take and we'll get it up and
running when he gets back from vacation.

Hang tight,

Tom

On Aug 14, 10:21 am, Sean Devlin <francoisdev...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Phlex  
View profile  
 More options Aug 20 2009, 12:59 pm
From: Phlex <Ph...@telenet.be>
Date: Thu, 20 Aug 2009 18:59:32 +0200
Local: Thurs, Aug 20 2009 12:59 pm
Subject: Re: Proposal: Promote clojure.contrib.def to a "core" lib

On 14/08/2009 19:53, Jarkko Oranen wrote:

> I'm not sure whether defonce is useful enough that it should be moved
> to core, so I'll abstain.

I use defonce and defonce- quite a lot.
I'm all for inclusion of c.c.def in core.

Sacha


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Timothy Pratley  
View profile  
 More options Aug 20 2009, 7:18 pm
From: Timothy Pratley <timothyprat...@gmail.com>
Date: Thu, 20 Aug 2009 16:18:23 -0700 (PDT)
Local: Thurs, Aug 20 2009 7:18 pm
Subject: Re: Proposal: Promote clojure.contrib.def to a "core" lib
If defvar was
[doc-string? name init?]
It would obviate defunbound
(defvar "A set of current TCP connections"
  connections #{})
And the backward compatible form could still be supported if necessary
[name init? doc-string?]

Regards,
Tim.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »