Imperative: difficult to reasonable
Functional: facilitating reasoning but is wasteful in terms of memory usage
Linear functional: Functional + efficient memory usage
Overloading in ATS is completely ad-hoc. Basically, anything goes as long
as the compiler
can figure out what is being overloaded based on the arity and type
information.On Wednesday, February 10, 2016 at 7:36:08 PM UTC-5, aditya siram wrote:
Hi,
I really like what ATS can do but a lot of the examples, including the one
you link to, don’t seem to show off it’s overloading capabilities. I’m a
noob so I maybe misunderstanding the code but it seems to make calls to a
lot of type specific functions and datatypes like list0_tabulate and nil0.
I have seen some of the overloading peek through in your template function
examples that use fwork but not much beyond.
Can you point to examples of how support for overloading is better than
ML’s?
Thanks!
-deech
On Wednesday, February 10, 2016 at 1:52:00 PM UTC-6, gmhwxi wrote:
Thanks
One can certainly write ATS code that looks elegant. For instance:
It takes time to write elegant code, though. People complaining about the
syntax of ATS are often not knowing much about
ATS. There are certainly amny Haskellers who think that anything
non-Haskell is ugly.
On Wednesday, February 10, 2016 at 5:45:46 AM UTC-5, anonymous anomymous wrote:
I always thought of functional programming somewhat wasteful (for reason
mentioned) but superior to other programming styles. Linear functional ATS
is really impressive. What am I saying? ATS on the whole is impressive!
Thanks, Professor, for the article. I hope, in time, the language gets the
popularity it deserves. I mean, it’s sad that such a good language is a bit
lacking in terms of attention. I often hear complaints about the syntax…
Programmers nowadays are really spoiled by Ruby and Python.
It takes time to write elegant code, though. People complaining about the
syntax of ATS are often not knowing much about
ATS. There are certainly amny Haskellers who think that anything
non-Haskell is ugly.On Wednesday, February 10, 2016 at 5:45:46 AM UTC-5, anonymous anomymous wrote:
I always thought of functional programming somewhat wasteful (for reason
mentioned) but superior to other programming styles. Linear functional ATS
is really impressive. What am I saying? ATS on the whole is impressive!
Thanks, Professor, for the article. I hope, in time, the language gets the
popularity it deserves. I mean, it’s sad that such a good language is a bit
lacking in terms of attention. I often hear complaints about the syntax…
Programmers nowadays are really spoiled by Ruby and Python.
Hi,
I really like what ATS can do but a lot of the examples, including the one
you link to, don’t seem to show off it’s overloading capabilities. I’m a
noob so I maybe misunderstanding the code but it seems to make calls to a
lot of type specific functions and datatypes like list0_tabulate and nil0.
I have seen some of the overloading peek through in your template function
examples that use fwork but not much beyond.
Can you point to examples of how support for overloading is better than
ML’s?
Thanks!
-deechOn Wednesday, February 10, 2016 at 1:52:00 PM UTC-6, gmhwxi wrote:
Thanks
One can certainly write ATS code that looks elegant. For instance:
It takes time to write elegant code, though. People complaining about the
syntax of ATS are often not knowing much about
ATS. There are certainly amny Haskellers who think that anything
non-Haskell is ugly.
On Wednesday, February 10, 2016 at 5:45:46 AM UTC-5, anonymous anomymous wrote:
I always thought of functional programming somewhat wasteful (for reason
mentioned) but superior to other programming styles. Linear functional ATS
is really impressive. What am I saying? ATS on the whole is impressive!
Thanks, Professor, for the article. I hope, in time, the language gets the
popularity it deserves. I mean, it’s sad that such a good language is a bit
lacking in terms of attention. I often hear complaints about the syntax…
Programmers nowadays are really spoiled by Ruby and Python.