Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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



well, a Haskell had been implemented in CL

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


Yeah! I worked with Robert Smith on porting it to modern CL implementations.

Not a fun codebase.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: