bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tail call elimination


From: Tim Murphy
Subject: Re: Tail call elimination
Date: Fri, 22 May 2020 08:36:37 +0000

I don't fully understand these motivations, which is again not to say they are not good - I just don't get them:
1) to implement everything in 1 function (or 2) - it seems like a slightly artificial requirement - one that a user of the feature wouldn't think to ask for.
2) documentation - again, presumably there will be a section on "Integer Maths" (or "math" to make Americans happy).  I don't really see why a single function makes this easier unless there's something about the documentation source format that makes it so? 
3) to be able to search for "op" or "math" in my code...... I have not found it very useful to search for "+" or '"-" in other languages so why in make?  Surely to improve readability you can define functions which do common computations and search for their names?

Regards,

Tim


On Fri, 22 May 2020 at 07:18, Pete Dietl <address@hidden> wrote:
As for a name for $(cond), we could call it 
$(alu ...)
And put arithmetic and logical operations in it :)

I don’t like using $(cond)
Because because I sort of want to option to implement cond like in Scheme. 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]