I'm sure CL syntax will work for my needs.
I'm not sure that anyone will like how I might use it to make code
more portable. :)
That could also stand some discussion.

Almost OT, ClojureCLR already extends the reader syntax to accommodate
symbols naming types with really bad characters in them, using a
modified form of |-escaping from CL.  It allows symbols such as  |
System.Collections.Generic.IList`1[System.Int32]| -- backquotes and
square brackets are a bit problematic, but to fit in with how types
are handled, I need manifest symbols with CLR-compatible names.
(Unless we either define a new syntax or allow type synonyms
or ... .)   Described in 
https://github.com/richhickey/clojure-clr/wiki/CLR-Interop
. Making something like this official would be most helpful,
particularly if read-time conditionalization comes in and this
construct might get seen by the regular Clojure reader.

-David


On Nov 3, 2:47 pm, Stuart Halloway <stuart.hallo...@gmail.com> wrote:
> > I had to make minor changes to algorithms in a few places.    Could
> > the original have been written to make porting easier?  I can think of
> > a few ways to do that, but the best ways require read-time
> > conditionalization and Rich is against that.  Would writing against
> > clojure.java.io instead of directly against java.io have helped.  Not
> > much.  Copy and edit is about the only real solution.
>
> I don't think the "against that" part is true (any longer?). We have been 
> talking about adding read-time conditionalization in Clojure 
> 1.4:http://dev.clojure.org/display/design/Cross-Dialect+Enhancements
>
> AFAIK nobody has taken any time to look at it, other than a hand-waving 
> "start by presuming Common Lisp syntax and approach is decent and see where 
> that falls down."
>
> Would love to leave the Conj with this done, or with somebody fired up to do 
> it.
>
> Stu
>
> Stuart Halloway
> Clojure/corehttp://clojure.com

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

Reply via email to