[ANN] Onyx 0.8.4: machine-aware optimization

2016-01-18 Thread Michael Drogalis
Onyx is a high performance, fault tolerant, distributed data processing 
platform for Clojure.
It uses a data driven API to transparently handle batch and streaming 
workloads
over a variety of storage mediums.

I'm happy announce release 0.8.4, which includes our next generation 
scheduling component.

Blog 
post: 
http://www.onyxplatform.org/jekyll/update/2016/01/16/Onyx-0.8.4-Colocation.html
GitHub: https://github.com/onyx-platform/onyx
Website: http://www.onyxplatform.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: defmulti with prismatic schema

2016-01-18 Thread Jason Wolfe
You can find some context here and in the linked PRs:

https://github.com/plumatic/schema/pull/119

Basically, the reason we don't have defmulti is that it's difficult to 
implement properly, and didn't seem worth the effort and maintenance cost.  

The simplest workaround is to create a schematized wrapper function that 
calls through to your `defmulti`, and make that the public API (name the 
wrapper `foo` and your defmulti `foo*` or something).

There are also two partial solutions:
 - Schematize each defmethod individually (as you mention)
 - Schematize the dispatch function (this can do the inputs, but not the 
outputs)

Hope this helps,
Jason




On Sunday, January 17, 2016 at 12:29:43 AM UTC, JvJ wrote:
>
> Hello,
>
> I understand that Prismatic Schema has a means of annotating defmethod, 
> but what should I do about defmulti?
>
> 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: [ANN] New clojure.org!

2016-01-18 Thread Leon Grapenthin
Have you considered linking to or embedding Rich Hickeys videos "Clojure 
for Java programmers", "Clojure for Lisp programmers" and "Clojure data 
structures"?

When I was learning the language they served as excellent introductory 
material and among facts really conveyed a "feeling" for the language. 
Maybe David Nolen could add a ClojureScript for Javascript developers in 
similar style?

On Sunday, January 17, 2016 at 5:24:11 PM UTC+1, Alex Miller wrote:
>
> The site does does not have any "learning" material at all. The material 
> on the existing site is intended to be authoritative reference material, 
> written by Rich (or in a few cases me). 
>
> We will add more learning / getting started material - this is definitely 
> the biggest gap in the existing site (although things like Clojure for the 
> Brave and True are great alternatives).
>
> We actually have a body of work in this area already and I will be 
> integrating it as I have time to.
>
>
> On Sun, Jan 17, 2016 at 9:09 AM, Brent Millare  > wrote:
>
>> I think another useful way to look at the issue that Alan brings up is to 
>> view it as a top down vs bottom up approach to learning the language. The 
>> site favors a top down approach, leading with the rationale and concepts 
>> rather than examples that can act like hooks that encourage the reader to 
>> investigate further even without complete understanding. While I'm more of 
>> a default top down thinker myself, I know and respect many bottom up 
>> thinkers. I believe enhancing the website to address both learning 
>> approaches will increase its usability not to just beginners but also to 
>> experienced programmers.
>>
>>
>> On Friday, January 15, 2016 at 7:16:08 PM UTC-5, Alan Moore wrote:
>>>
>>> Great job everyone! I really like the layout and the color scheme, very 
>>> pleasing to the eye and professional looking.
>>>
>>> My *only* constructive comment is that a total newbie landing on 
>>> clojure.org is faced with a lot of reading when maybe they should be 
>>> presented with super basic code examples, just to give them a general feel 
>>> of what Clojure code looks like. Much of this does exist on the site but is 
>>> maybe less accessible and not as up-front as it could be. I'll submit some 
>>> suggestions via the public repo and do my part to help out :-)
>>>
>>> All in all this is looking great and I appreciate the hard work in 
>>> getting it to this point. Thanks Alex for organizing the effort!
>>>
>>> Alan
>>>
>>> On Thursday, January 14, 2016 at 7:45:06 AM UTC-8, Alex Miller wrote:

 The new http://clojure.org is alive!

 Most of the content on the site is the same content as before (but in a 
 new shinier package). However, the site is now sourced from the public 
 repo 
 at https://github.com/clojure/clojure-site and is open for 
 contribution. Contributions (via pull request) require a signed Clojure 
 Contributor Agreement, just as with Clojure itself - if you've already 
 signed it, then you don't need to do anything additional.

 We have been working on several new guides for the new Guides section 
 and you can see things in process at 
 https://github.com/clojure/clojure-site/issues - feel free to discuss 
 on issues there or threads here with a [DOC] indicator. Or on the #docs 
 channel on Slack.

 Big thanks to Tom Hickey on the design for the new site! As always, he 
 was a pleasure to work with.

 Alex

>>> -- 
>> You received this message because you are subscribed to the Google
>> Groups "Clojure" group.
>> To post to this group, send email to clo...@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+u...@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 a topic in the 
>> Google Groups "Clojure" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/clojure/Qn55soAb5zQ/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> clojure+u...@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 

Re: Cross-platform check if value is a channel

2016-01-18 Thread Alex Miller
There is a ticket for this http://dev.clojure.org/jira/browse/ASYNC-126 and 
you'll notice there is actually an implementation buried inside right now:

clojure.core.async.impl.protocols/closed?

On Sunday, January 17, 2016 at 10:53:57 PM UTC-6, JvJ wrote:
>
> Is there a way of checking to see if something is a channel?  Does it work 
> in both clj and cljs?
>

-- 
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: [ANN] New clojure.org!

2016-01-18 Thread Reid McKenzie
Hum... if this is true it's because I've diverged from Andy's cheatsheet
builds and haven't synced back up. Grimoire has 1.7 content and will
promptly support 1.8. Looking into this.

Reid

On 01/15/2016 02:36 PM, Mars0i wrote:
> I like the new look a lot.  Thanks.
>
> One comment: The cheatsheet now links to Grimoire pages that seem to
> be for Clojure 1.6.0.  The old default cheatsheet linked to
> ClojureDocs, which looks better and includes a few more useful
> features, such as links to related functions and to the source.
> -- 
> 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: [ANN] New clojure.org!

2016-01-18 Thread Alex Miller
Actually, I was using an old version of the cheatsheet and have updated.

On Mon, Jan 18, 2016 at 5:33 PM, Reid McKenzie 
wrote:

> Hum... if this is true it's because I've diverged from Andy's cheatsheet
> builds and haven't synced back up. Grimoire has 1.7 content and will
> promptly support 1.8. Looking into this.
>
> Reid
>
> On 01/15/2016 02:36 PM, Mars0i wrote:
>
> I like the new look a lot.  Thanks.
>
> One comment: The cheatsheet now links to Grimoire pages that seem to be
> for Clojure 1.6.0.  The old default cheatsheet linked to ClojureDocs, which
> looks better and includes a few more useful features, such as links to
> related functions and to the source.
> --
> 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 a topic in the
> Google Groups "Clojure" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/clojure/Qn55soAb5zQ/unsubscribe.
> To unsubscribe from this group and all its topics, 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: [ANN] New clojure.org!

2016-01-18 Thread Reid McKenzie
That this is an afterthought I suppose indicates my priorities, but if
you have particular complaints about the present design of Grimoire I'd
be delighted to hear them over on the bugtracker [1]. I'm well aware
that Grimoire lacks some amount of UI/web N+1 polish, however as I'm no
UI/UX expert progress here is and will remain slow without specific
feedback as my primary concerns are example, notes and their value add
over the official docs.

Reid

[1] https://github.com/clojure-grimoire/grimoire/issues

On 01/15/2016 02:36 PM, Mars0i wrote:
> I like the new look a lot.  Thanks.
>
> One comment: The cheatsheet now links to Grimoire pages that seem to
> be for Clojure 1.6.0.  The old default cheatsheet linked to
> ClojureDocs, which looks better and includes a few more useful
> features, such as links to related functions and to the source.
> -- 
> 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.


Parsing complex parameter lists

2016-01-18 Thread JvJ
I'm extending def macros, and I would like to know if there is an easy way 
to handle parsing the complex parameter lists that can be passed into these 
macros.

For example, defn has a parameter list something like the following:

[name doc-string? attr-map? arg-vec pre-post-map? & body]


There are so many possible conditions here.  I feel like there should be an 
easy way to do it, but my solutions so far seem too complex.

-- 
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: [ANN] New clojure.org!

2016-01-18 Thread Reid McKenzie
Okay. Thanks for the quick reply Alex.

Reid

On 01/18/2016 05:39 PM, Alex Miller wrote:
> Actually, I was using an old version of the cheatsheet and have updated.
>
> On Mon, Jan 18, 2016 at 5:33 PM, Reid McKenzie  > wrote:
>
> Hum... if this is true it's because I've diverged from Andy's
> cheatsheet builds and haven't synced back up. Grimoire has 1.7
> content and will promptly support 1.8. Looking into this.
>
> Reid
>
> On 01/15/2016 02:36 PM, Mars0i wrote:
>> I like the new look a lot.  Thanks.
>>
>> One comment: The cheatsheet now links to Grimoire pages that seem
>> to be for Clojure 1.6.0.  The old default cheatsheet linked to
>> ClojureDocs, which looks better and includes a few more useful
>> features, such as links to related functions and to the source.
>> -- 
>> 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 a topic in
> the Google Groups "Clojure" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/clojure/Qn55soAb5zQ/unsubscribe.
> To unsubscribe from this group and all its topics, 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.

-- 
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: Cross-platform check if value is a channel

2016-01-18 Thread Timothy Baldridge
You could do that, but I would encourage you to either check ReadPort or
WritePort, as there are some constructs in core.async that only implement
one or the other.

On Mon, Jan 18, 2016 at 2:26 PM, JvJ  wrote:

> So, you can just check if #(safisfies?
> clojure.core.async.impl.protocols/Channel %)
>
>
> On Monday, 18 January 2016 10:48:10 UTC-8, Alex Miller wrote:
>>
>> There is a ticket for this http://dev.clojure.org/jira/browse/ASYNC-126
>> and you'll notice there is actually an implementation buried inside right
>> now:
>>
>> clojure.core.async.impl.protocols/closed?
>>
>> On Sunday, January 17, 2016 at 10:53:57 PM UTC-6, JvJ wrote:
>>>
>>> Is there a way of checking to see if something is a channel?  Does it
>>> work in both clj and cljs?
>>>
>> --
> 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.
>



-- 
“One of the main causes of the fall of the Roman Empire was that–lacking
zero–they had no way to indicate successful termination of their C
programs.”
(Robert Firth)

-- 
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: [ANN] New clojure.org!

2016-01-18 Thread Mars0i


On Monday, January 18, 2016 at 6:24:06 PM UTC-6, Reid McKenzie wrote:
>
> That this is an afterthought I suppose indicates my priorities, but if you 
> have particular complaints about the present design of Grimoire I'd be 
> delighted to hear them over on the bugtracker [1]. I'm well aware that 
> Grimoire lacks some amount of UI/web N+1 polish, however as I'm no UI/UX 
> expert progress here is and will remain slow without specific feedback as 
> my primary concerns are example, notes and their value add over the 
> official docs.
>
> Reid
>
> [1] https://github.com/clojure-grimoire/grimoire/issues
>

Thanks Reid.   I'm a little confused about the relationships between the 
goals of ClojureDocs and Grimoire.  They both provide community-supported 
documentation.   The top-level interfaces are different of course, but I'm 
not sure whether there are differences in functionality once one knows the 
ins and outs of each system.  (I see now that some of what I thought was 
available only in ClojureDocs is available on Grimoire as well.)

Are ClojureDocs and Grimoire in competition?  If so, there's nothing 
necessarily wrong with that; each person can choose what seems best.  
Perhaps there is this drawback: If a user adds an example or comment to 
one, it won't appear in the other.  Given that the core documentation in 
each is the same, one would have to scan through two pages for a single 
function in order to see whether there's any useful information in one but 
not the other.


On 01/15/2016 02:36 PM, Mars0i wrote:
>
> I like the new look a lot.  Thanks.
>
> One comment: The cheatsheet now links to Grimoire pages that seem to be 
> for Clojure 1.6.0.  The old default cheatsheet linked to ClojureDocs, which 
> looks better and includes a few more useful features, such as links to 
> related functions and to the source.
> -- 
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clo...@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+u...@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+u...@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: Parsing complex parameter lists

2016-01-18 Thread James Reeves
Take a look at the name-with-attributes function in tools.macro
.

- James

On 19 January 2016 at 02:20, JvJ  wrote:

> I'm extending def macros, and I would like to know if there is an easy way
> to handle parsing the complex parameter lists that can be passed into these
> macros.
>
> For example, defn has a parameter list something like the following:
>
> [name doc-string? attr-map? arg-vec pre-post-map? & body]
>
>
> There are so many possible conditions here.  I feel like there should be
> an easy way to do it, but my solutions so far seem too complex.
>
> --
> 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: Cross-platform check if value is a channel

2016-01-18 Thread JvJ
So, you can just check if #(safisfies? 
clojure.core.async.impl.protocols/Channel %)

On Monday, 18 January 2016 10:48:10 UTC-8, Alex Miller wrote:
>
> There is a ticket for this http://dev.clojure.org/jira/browse/ASYNC-126 
> and you'll notice there is actually an implementation buried inside right 
> now:
>
> clojure.core.async.impl.protocols/closed?
>
> On Sunday, January 17, 2016 at 10:53:57 PM UTC-6, JvJ wrote:
>>
>> Is there a way of checking to see if something is a channel?  Does it 
>> work in both clj and cljs?
>>
>

-- 
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: [ANN] New clojure.org!

2016-01-18 Thread Mars0i
On Friday, January 15, 2016 at 2:36:46 PM UTC-6, Mars0i wrote:
>
> I like the new look a lot.  Thanks.
>
> One comment: The cheatsheet now links to Grimoire pages that seem to be 
> for Clojure 1.6.0.  The old default cheatsheet linked to ClojureDocs, which 
> looks better and includes a few more useful features, such as links to 
> related functions and to the source.
>

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