Please add infix-doller-reader #364

Closed
ichimal opened this Issue Sep 5, 2012 · 9 comments

3 participants

@ichimal

infix-doller-reader enables Haskell-like $ operator.

e.g.

 (= (+ 1 2 $ * 3 4 $ + 5 6) (+ 1 2 (* 3 4 (+ 5 6)))) ; => t
 (the fixnum $ + x 2)

https://github.com/ichimal/infix-doller-reader

@quicklisp
Owner

Looks neat. Would you consider using named-readtables or cl-syntax to make it easier to manage readtable changes?

@ichimal

I'm planning using cl-syntax.
I've already sent a pull request cl-syntax: m2ym/cl-syntax#8

@quicklisp
Owner

Shouldn't that system be part of your project, not part of cl-syntax? That requires less coordination and provides more flexibility.

@ichimal

cl-syntax-infix-doller is now available in my repository.

@m2ym

@quicklisp I've merged the patch into cl-syntax.

@quicklisp
Owner

@m2ym It seems to me that projects should just create a system that depends on cl-syntax. To do otherwise (submit contribs to cl-syntax) requires more coordination than I find comfortable.

@m2ym

I've reverted the patch. If the author @ichimal is going to maintain the syntax system (cl-sytnax-infix-doller), adding the syntax system to cl-syntax contribs is not good idea, as @quicklisp said.

@ichimal

To @quicklisp :
Reverted cl-syntax-infix-doller and now depends on cl-syntax to define package-syntax directly.

To @m2ym :
OK, thanks to your working (i.e. merge and revert) for my request.
I'll remove my fork of cl-syntax repo.

@ichimal

Sorry, I'v fixed typo on project name from infix-doller-reader to infix-dollar-reader.
Please change repository to reference as follow.
https://github.com/ichimal/infix-dollar-reader

@quicklisp quicklisp closed this Oct 2, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment