|
|
Up |
|
|
  |
Author: Xah LeeXah Lee Date: Aug 17, 2007 10:53
Xah Lee wrote:
«
The Concepts and Confusions of Prefix, Infix, Postfix and Fully
Functional Notations
http://xahlee.org/UnixResource_dir/writ/notations.html
...
For another example, suppose Deriv is a function that takes a function
f and returns a function g, and we want to apply g to a variable x.
In lisp, we would write “((Deriv f) x)”. In Mathematica, we would
write “Deriv[f][x]”.»
|
| Show full article (6.20Kb) |
|
| | 38 Comments |
|
  |
Author: Kaz KylhekuKaz Kylheku Date: Aug 17, 2007 12:28
On Aug 17, 10:53 am, Xah Lee xahlee.org> wrote:
> But actually, i wanted to speak about another issue, and that is: how
> the term Currying is often used by high-powered tech geekers (such as
> the lispers and functional programers) to simply mean applying a
> function that is returned by a function, and this subtle but different
> meaning, generates confusion.
You have a point in that this is incorrect. Currying, named after
Haskell Curry, has to do with transforming a function of N arguments
into a function of N-K arguments, by fixing the values of K arguments.
What the above describes is something else. But I don't think that
``high powered'' people who know what they are talking about would
misuse the term in that way.
I'm a low-powered hacker and don't even know what I'm talking about
half the time, yet I still know what currying is.
|
| |
|
| | no comments |
|
  |
Author: Florian KreidlerFlorian Kreidler Date: Aug 17, 2007 13:50
Xah Lee xahlee.org> schrieb:
>
> I don't like the term ?currying?. It smacks of academic mumbo jumbo.
> The primary fuel of its use among programers, is its obscurism. It
> makes the users of the term looks bigger then than they are. (not
> accusing you in anyway though)
You might want to say "schönfinkeln," as we do here in Germany.
|
| |
| no comments |
|
  |
Author: Joachim DurchholzJoachim Durchholz Date: Aug 17, 2007 14:42
Florian Kreidler schrieb:
> You might want to say "schönfinkeln," as we do here in Germany.
Only humorously, if at all.
Well, some teachers pass on unusual terms in a vain attempt to establish
a terminology that they think would be better.
Regards,
Jo
|
| |
| no comments |
|
  |
Author: Xah LeeXah Lee Date: Aug 17, 2007 22:46
... just to have some fun, let me make a assertion (fun aside, i
seriously think it true):
The Haskell community, would benefit greatly (say, as tripling its
popularity or number of users), by forbidding literature associated
with its teaching, of using the term Currying.
This is something that can be done, and in my opinion, trivially.
However, of course it will never happens because haskell is too much
tied to academics and social and human issues regarding terminology or
the use of English, is not likely to change...
As to what would be better term for Currying... umm... perhaps Arity
Shrink, Arity Collapsing, parameter reduction ...
See also:
Politics and the English Language by George Orwell
http://xahlee.org/p/george_orwell_english.html
Xah
xah@ xahlee.org
∑ http://xahlee.org/
--------
On Aug 17, 10:53 am,XahLee xahlee.org> wrote:
|
| Show full article (1.75Kb) |
| no comments |
|
  |
Author: Joachim DurchholzJoachim Durchholz Date: Aug 18, 2007 05:39
Xah Lee schrieb:
> The Haskell community, would benefit greatly (say, as tripling its
> popularity or number of users), by forbidding literature associated
> with its teaching, of using the term Currying.
>
> This is something that can be done, and in my opinion, trivially.
Technically that would be easy, but politically, it's impossible to ban
certain words. To establish a working ban, you'd need a censoring
machinery, and the side effects would eclipse any good that this could
ever do.
All you can do is to propose a less intimidating nomenclature.
> However, of course it will never happens because haskell is too much
> tied to academics and social and human issues regarding terminology or
> the use of English, is not likely to change...
|
| Show full article (1.23Kb) |
| no comments |
|
  |
Author: Chris SmithChris Smith Date: Aug 18, 2007 06:25
Xah Lee xahlee.org> wrote:
> The Haskell community, would benefit greatly (say, as tripling its
> popularity or number of users), by forbidding literature associated
> with its teaching, of using the term Currying.
Even when teaching the meaning of the standard library routines "curry"
and "uncurry"?
--
Chris Smith
|
| |
| no comments |
|
  |
Author: David GoldenDavid Golden Date: Aug 18, 2007 06:30
Joachim Durchholz wrote:
> Better. Far better.
>
When cooking a curry, you need a bunch of ingredients. You throw some
stuff into the pot. You now have something that when you add
more ingredients, makes more a more complicated/closer-to-complete
curry. You can separate making a curry into a whole heap of
add-a-thing-to-the-pot operations.
Okay that's pretty loose, and if anything probably encourages
currying/partial-application confusion, but still, the name
"curry" always appealed to me for that reason.
|
| |
| no comments |
|
  |
Date: Aug 18, 2007 09:54
Joachim Durchholz durchholz.org> writes:
>> popularity or number of users), by forbidding literature associated
>> with its teaching, of using the term Currying.
>> This is something that can be done, and in my opinion, trivially.
> Technically that would be easy, but politically, it's impossible to
> ban certain words. To establish a working ban, you'd need a censoring
> machinery, and the side effects would eclipse any good that this could
> ever do.
|
| |
| no comments |
|
  |
|
|
  |
Author: Pascal BourguignonPascal Bourguignon Date: Aug 18, 2007 12:40
Joachim Durchholz durchholz.org> writes:
> Xah Lee schrieb:
>> The Haskell community, would benefit greatly (say, as tripling its
>> popularity or number of users), by forbidding literature associated
>> with its teaching, of using the term Currying.
>>
>> This is something that can be done, and in my opinion, trivially.
>
> Technically that would be easy, but politically, it's impossible to
> ban certain words. To establish a working ban, you'd need a censoring
> machinery, and the side effects would eclipse any good that this could
> ever do.
You could as well ban the word "Xah Lee" and xahleeing, like google
tries to ban googling...
Please people, stop xahleeing!
--
__Pascal Bourguignon__ http://www.informatimago.com/
|
| Show full article (0.96Kb) |
| no comments |
|
|
|
|