Re:Why monads have not taken the Common Lisp world by storm ...
by olenhad on Saturday April 26, 2014 @10:44AM
(#7651515)
For clojure, there's kern (https://github.com/blancas/kern) for parsec style parser combinators. It's quite easy to use. Ironically, I actually understood parser combinators better by reading its wiki (By understood, I mean understood how to _use_ parser combinators). Parsec was initially difficult to grasp because the type system complicated things for me then.
I only got Parsec completely after that eureka moment when I finally understood Monads.
[ Parent
| on HN ]
Re:Why monads have not taken the Common Lisp world by storm ...
by angerman on Saturday April 26, 2014 @10:49AM
(#7651527)
While not directly monad related. There's also instaparse (https://github.com/engelberg/instaparse) which has also pretty nice presentation. https://www.youtube.com/watch?v=b2AUW6psVcE
I just wanted to leave this here as if it hadn't been for twitter and the presentation, I would likely never have known about it.
Re:Why monads have not taken the Common Lisp world by storm ...
by mrottenkolber on Saturday April 26, 2014 @11:25AM
(#7651677)
Also, nobody cares. Since this comment is not even remotely related anymore.
Re:Why monads have not taken the Common Lisp world by storm ...
by mrottenkolber on Saturday April 26, 2014 @11:02AM
(#7651586)
Nobody was talking about Clojure. Do you also have to hijack CL discussions now? Taking over the term "Lisp" wasn't enough?
Re:Why monads have not taken the Common Lisp world by storm ...
by mrottenkolber on Saturday April 26, 2014 @11:21AM
(#7651661)
Yup downvote me. Because this isn't obviously a CL thread.
What a nice display of Clojure propaganda, when in a CL thread, a related library is scored lower than a clojure library.
Re:Why monads have not taken the Common Lisp world by storm ...
by S4M on Saturday April 26, 2014 @01:13PM
(#7652068)
Why all this hate about Clojure? I didn't downvote you, but I can see why people would, seems olenhad was mentioning a library similar to Parsec in a language that is very related to Common Lisp. There is definitely no need to get carried away.
Re:Why monads have not taken the Common Lisp world by storm ...
by mrottenkolber on Saturday April 26, 2014 @09:00PM
(#7653420)
You meant "hype about Clojure" right?
Re:Why monads have not taken the Common Lisp world by storm ...
by copergi on Saturday April 26, 2014 @05:42PM
(#7652863)
If there's one thing SLWs hate, it is other SLWs.
Re:Why monads have not taken the Common Lisp world by storm ...
by mrottenkolber on Saturday April 26, 2014 @09:09PM
(#7653445)
Consider the fact that I am probably the only one in this thread who is actually getting paid to write Clojure. And yes Clojure is horrible.
Re:Why monads have not taken the Common Lisp world by storm ...
by S4M on Sunday April 27, 2014 @01:00PM
(#7655824)
I am honestly curious what you have against Clojure. I dabbed with CL and Clojure, not as much as I would have liked to, but for me they felt similar. I would be curious to have a list of things that can easily be achieved with CL but not with Clojure.
Re:Why monads have not taken the Common Lisp world by storm ...
by lispm on Sunday April 27, 2014 @06:44PM
(#7657305)
Common Lisp is a multi-paradigm language (imperative, functional, object-oriented) in the Lisp 1 / Maclisp tradition. It has a language spec and multiple different, but very compatible, implementations. Among its goals are portability across different machines/systems, efficiency, power and stability. Thus complex Lisp software can be ported or written in Common Lisp and usually runs on top of several implementations (examples: Maxima, Axiom, ACL2, ACT-R, Common Lisp Music, ...).
"Clojure is predominantly a functional programming language, and features a rich set of immutable, persistent data structures. When mutable state is needed, Clojure offers a software transactional memory system and reactive Agent system that ensure clean, correct, multithreaded designs."
Re:Why monads have not taken the Common Lisp world by storm ...
by jessaustin on Saturday April 26, 2014 @08:48PM
(#7653374)
SLW? Single-language... weirdo?
Re:Why monads have not taken the Common Lisp world by storm ...
by aerique on Sunday April 27, 2014 @12:07AM
(#7653926)
Smug Lisp Weenie
Re:Why monads have not taken the Common Lisp world by storm ...
by lispm on Saturday April 26, 2014 @03:55PM
(#7652561)
very related = fully incompatible
Re:Why monads have not taken the Common Lisp world by storm ...
by sanderjd on Saturday April 26, 2014 @06:41PM
(#7653032)
Things can be both incompatible and related. For any given thing, the set of things related to that thing will typically be bigger than and encompassing of the set of things compatible with that thing.
Re:Why monads have not taken the Common Lisp world by storm ...
by lispm on Sunday April 27, 2014 @09:52AM
(#7655037)
Absolutely true. Lisp is related to Fortran, though both are not compatible to each other. Just like Clojure.
Re:Why monads have not taken the Common Lisp world by storm ...
by sanderjd on Sunday April 27, 2014 @10:54AM
(#7655286)
I guess I don't really get your point. Is Clojure not a pure enough Lisp for your taste, or what? I've used Clojure and CL a similar (small) amount, and they seem incredibly more similar to each other than either of them to Fortran.
Re:Why monads have not taken the Common Lisp world by storm ...
by lispm on Sunday April 27, 2014 @06:30PM
(#7657249)
For me languages which are fully incompatible and allow no code sharing are not VERY related. Languages VERY related to CL are Emacs Lisp, ISLisp and some other Lisps in the Lisp 1 / Maclisp tradition.
Re:Why monads have not taken the Common Lisp world by storm ...
by lispm on Saturday April 26, 2014 @05:59PM
(#7652911)
More food for the downvoters: Clojure has been carefully designed such that ZERO code sharing with any other Lisp dialect is possible. That's its definition of 'very related'.
Re:Why monads have not taken the Common Lisp world by storm ...
by mrottenkolber on Saturday April 26, 2014 @09:08PM
(#7653440)
I just saw your aprils fools joke. Epic?