Comment by mcguire
12 years ago
I'm not sure whether my issue with ATS is the style of the author or its type system, although I suspect the former.
ATS is based on ML (the author started with Dependent ML), but the code has a very imperative feel, leading to statements like "let () = expr() in ..." and "let x = ... in ()".
The stuff at http://www.ats-lang.org/Examples.html is just hideous, by the way.
I agree with you, though I think it is because of the authors style. Check out some of Chris Done's ats code examples in a more appealing style:
https://gist.github.com/chrisdone/c23251e8b975dc805876
Here's just a small translation of the ats examples[0] page.
----------------- Copying File ----------------
Authors version:
----------------- Naieve Fibonacci ----------------
My version:
Authors version:
My Version (not sure if valid!):
----------------- Fast Fibonacci ----------------
Authors Version:
My Version:
0: http://www.ats-lang.org/Examples.html