Re: Noob question on the --> macro implementation

2019-03-05 Thread Ujjwal Thaakar
Yes that was my only point. On Sunday, January 27, 2019 at 12:39:12 AM UTC+5:30, James Reeves wrote: > > I believe he's just saying it's simpler and possibly more efficient. > > Unless I'm missing something subtle in the way this is resolved, I believe > Ujjwal is right that: > > `(~(first fo

Re: Noob question on the --> macro implementation

2019-03-05 Thread Ujjwal Thaakar
rchitect's View -- http://corfield.org/ >> >> "If you're not annoying somebody, you're not really alive." >> -- Margaret Atwood >> >> >> -- >> *From:* clo...@googlegroups.com on behalf of >> James Re

Re: Noob question on the --> macro implementation

2019-03-05 Thread Ujjwal Thaakar
I didn't understand what you meant by > where seq?, as distinct from seq, does not check whether there is anything > in the sequence. On Sunday, January 27, 2019 at 5:31:15 PM UTC+5:30, Matching Socks wrote: > > Gary might be on to something. The immediate context is > > (if (seq? form) >

Re: Noob question on the --> macro implementation

2019-01-27 Thread Matching Socks
Gary might be on to something. The immediate context is (if (seq? form) (with-meta `(~(first form) ~@(next form) ~x) (meta form)) (list form x))] where seq?, as distinct from seq, does not check whether there is anything in the sequence. -- You received this messa

Re: Noob question on the --> macro implementation

2019-01-26 Thread Gary Fredericks
d > > > -- > *From:* clo...@googlegroups.com > on behalf of James Reeves > > *Sent:* Saturday, January 26, 2019 11:08:25 AM > *To:* clo...@googlegroups.com > *Subject:* Re: Noob question on the --> macro implementation > > I belie

RE: Noob question on the --> macro implementation

2019-01-26 Thread Sean Corfield
Sent: Saturday, January 26, 2019 11:08:25 AM To: clojure@googlegroups.com Subject: Re: Noob question on the --> macro implementation I believe he's just saying it's simpler and possibly more efficient. Unless I'm missing something subtle in the way this is resolved, I believe

Re: Noob question on the --> macro implementation

2019-01-26 Thread James Reeves
I believe he's just saying it's simpler and possibly more efficient. Unless I'm missing something subtle in the way this is resolved, I believe Ujjwal is right that: `(~(first form) ~@(next form) ~x) Is equivalent to: `(~@form ~x) On Sat, 26 Jan 2019 at 19:04, Andy Fingerhut wrote: >

Re: Noob question on the --> macro implementation

2019-01-26 Thread Andy Fingerhut
When you ask "am I right?" about your proposed change, what is it that the current behavior does not do, that your change would do? Do you have some use case in mind that works with your change, but doesn't with the current implementation? Andy On Sat, Jan 26, 2019 at 10:50 AM Ujjwal Thaakar wr

Noob question on the --> macro implementation

2019-01-26 Thread Ujjwal Thaakar
Hi, I'm trying to learn Clojure and I just curiously typed (source ->>) in the REPL and was wondering about this: https://github.com/clojure/clojure/commit/749a0ad8b66c781d8176833f0ad26cfe6b9b24e3#r32075784 Am I missing something? -- You received this message because you are subscribed to the