[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: (*) -> 1
From: |
Michael Heerdegen |
Subject: |
Re: (*) -> 1 |
Date: |
Tue, 17 Jan 2023 22:12:31 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Óscar Fuentes <ofv@wanadoo.es> writes:
> In other programming languages an expression such as "+ 2" would yield a
> partially applied function:
>
> let f = + 2
> f 5
> -> 7
The "dual" problem can also exist in this interpretation of notation,
though:
Would a partial application of `*' to no arguments result in a function
multiplying the product of the arguments (with 1), or would it result in
a function raising an error? What would this function applied to no
arguments return?
What would the partial application of `-' to a number return when
applied to no arguments? Etc.
Michael.
- Re: [External] : Re: How to make M-x TAB not work on (interactive) declaration?, (continued)
- Re: [External] : Re: How to make M-x TAB not work on (interactive) declaration?, tomas, 2023/01/17
- Re: (*) -> 1, Jean Louis, 2023/01/17
- Re: (*) -> 1, Michael Heerdegen, 2023/01/17
- Re: (*) -> 1, Óscar Fuentes, 2023/01/17
- Re: (*) -> 1, Jean Louis, 2023/01/17
- Re: (*) -> 1, Óscar Fuentes, 2023/01/17
- Re: (*) -> 1, Jean Louis, 2023/01/18
- Re: (*) -> 1, Óscar Fuentes, 2023/01/18
- RE: [External] : Re: (*) -> 1, Drew Adams, 2023/01/18
- Re: (*) -> 1, Michael Heerdegen, 2023/01/17
- Re: (*) -> 1,
Michael Heerdegen <=
- Re: (*) -> 1, Óscar Fuentes, 2023/01/17
- Re: (*) -> 1, Michael Heerdegen, 2023/01/17
- Re: (*) -> 1, Óscar Fuentes, 2023/01/18
- Re: (*) -> 1, tomas, 2023/01/18
- Re: (*) -> 1, Óscar Fuentes, 2023/01/18
- Re: (*) -> 1, Michael Heerdegen, 2023/01/18
- Re: (*) -> 1, Óscar Fuentes, 2023/01/18
- Re: (*) -> 1, Andreas Eder, 2023/01/18
- Re: (*) -> 1, Óscar Fuentes, 2023/01/18
- Re: (*) -> 1, Jean Louis, 2023/01/17