stylewarning / deprecated-coalton-prototype

Coalton is (supposed to be) a dialect of ML embedded in Common Lisp.
MIT License
208 stars 7 forks source link

figure out printing, especially lists. #28

Open stylewarning opened 4 years ago

stylewarning commented 4 years ago

How should objects be printed from Lisp? Should they be readable?

Right now, lists look especially awful:

> (range 0 10)
#.(COALTON-USER::KONS 0 #.(COALTON-USER::KONS 1 #.(COALTON-USER::KONS 2 #.(COALTON-USER::KONS 3 #.(COALTON-USER::KONS 4 #.(COALTON-USER::KONS 5 #.(COALTON-USER::KONS 6 #.(COALTON-USER::KONS 7 #.(COALTON-USER::KONS 8 #.(COALTON-USER::KONS 9 #.COALTON-USER::KNIL))))))))))

Can We Do Better?