News for hackers. Stuff that matters.
Re:Hell Is Other REPLs by lisper on Monday August 30, 2021 @12:38PM (#28357560)
> I'd be missing all the optimizations that can be performed due to purity.

What I'm advocating here is not retrofitting Lisp but embedding DSLs within Lisp. In a DSL you have complete control over the semantics, and so you can do all the optimizations that Haskell does.

> coalton is the closest thing and it's still missing a large amount of the type system.

Note that this was written by one person. You have to distinguish between what has actually been done given the current state of the world and what would be possible if people made different choices. If a tenth of the effort that has gone into implementing Haskell had instead gone into implementing a Haskell-equivalent embedded in CL, that effort would plausibly be competitive with actual Haskell if not superior.

Re:Hell Is Other REPLs by lispm on Monday August 30, 2021 @05:54PM (#28361349)
well, a Haskell had been implemented in CL

https://github.com/haskell-lisp/yale-haskell

Re:Hell Is Other REPLs by bitmapper on Monday August 30, 2021 @06:22PM (#28361599)
Yeah! I worked with Robert Smith on porting it to modern CL implementations.

Not a fun codebase.