Talk:Scalar function: Difference between revisions

Jump to navigation Jump to search
36 bytes added ,  10:57, 11 September 2022
m
Text replacement - "</source>" to "</syntaxhighlight>"
m (Text replacement - "<source" to "<syntaxhighlight")
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
Line 2: Line 2:


Several issues with this section:
Several issues with this section:
* Depth is the name used for the operator in documents I've seen, so it should link to [[Depth (operator)]] or [[Depth operator]]. It's definitely different from [[Over]] (like [[Reduce]] and [[Windowed Reduce]] are different), and the two would be difficult to disambiguate. The text is currently misleading, since it implies Dyalog 18.0, which has Over, would support this definition of <syntaxhighlight lang=apl inline>perv</source>.
* Depth is the name used for the operator in documents I've seen, so it should link to [[Depth (operator)]] or [[Depth operator]]. It's definitely different from [[Over]] (like [[Reduce]] and [[Windowed Reduce]] are different), and the two would be difficult to disambiguate. The text is currently misleading, since it implies Dyalog 18.0, which has Over, would support this definition of <syntaxhighlight lang=apl inline>perv</syntaxhighlight>.
::Branfart or Freudian slip.
::Branfart or Freudian slip.
* As far as I'm aware, no dialect implements Depth as used (J has "Level At", which has some similarities but doesn't work this way). It's okay to have speculative notes but this should be indicated.
* As far as I'm aware, no dialect implements Depth as used (J has "Level At", which has some similarities but doesn't work this way). It's okay to have speculative notes but this should be indicated.
Line 13: Line 13:
┌──┬─┬───┐
┌──┬─┬───┐
│ff│f│⊂ff│
│ff│f│⊂ff│
└──┴─┴───┘</source>Ah, so J needs <syntaxhighlight lang=j inline>"0 L:0</source> to behave like <syntaxhighlight lang=apl inline>⍥0</source> in APL.
└──┴─┴───┘</syntaxhighlight>Ah, so J needs <syntaxhighlight lang=j inline>"0 L:0</syntaxhighlight> to behave like <syntaxhighlight lang=apl inline>⍥0</syntaxhighlight> in APL.
:::::Looks like dzaima only has monadic Depth. I was trying it with a dyadic function. I've added a note. --[[User:Marshall|Marshall]] ([[User talk:Marshall|talk]]) 09:03, 1 April 2020 (UTC)
:::::Looks like dzaima only has monadic Depth. I was trying it with a dyadic function. I've added a note. --[[User:Marshall|Marshall]] ([[User talk:Marshall|talk]]) 09:03, 1 April 2020 (UTC)
* The section is placed right at the top, before the very useful list of scalar functions. It's a more advanced topic, and less often used than the rest of the information (true, experienced APLers know which functions are scalar, but the APL wiki shouldn't assume that level of experience), in addition to being only tangentially related to the topic. It should be placed at the end of the article, and would probably make more sense in a dedicated page on pervasive application.
* The section is placed right at the top, before the very useful list of scalar functions. It's a more advanced topic, and less often used than the rest of the information (true, experienced APLers know which functions are scalar, but the APL wiki shouldn't assume that level of experience), in addition to being only tangentially related to the topic. It should be placed at the end of the article, and would probably make more sense in a dedicated page on pervasive application.

Navigation menu