Talk:Rosetta Code/Count examples/Full list/Tier 4: Difference between revisions

There is no F_Sharp entry, only F#
(Entry 123)
 
(There is no F_Sharp entry, only F#)
Line 1:
Entry 123 claims that F# does not implement Matrix Multiplication. http://www.rosettacode.org/wiki/Category:F_Sharp has Matrix Multiplication under Pages in category "F Sharp".--[[User:Nigel Galloway|Nigel Galloway]] ([[User talk:Nigel Galloway|talk]]) 15:10, 31 January 2022 (UTC)
 
: The report generating logic doesn't use any heuristics to try to determine if a particular piece of code is written in any particular language. It only looks at the presence (or absence) of the Rosettacode supported language header to tell if that language has an example or not. The supported header for F Sharp is '''<nowiki>=={{header|F_Sharp|F#}}==</nowiki>'''; the Matrix Multiplication F Sharp entry header is '''<nowiki>=={{header|F#}}==</nowiki>''', so it is not recognized as belonging to F_Sharp (the languages name on Rosettacode).
 
: Is it ideal? No, it's not. But the algorithm is pretty darn accurate as long as the task header markup is correct. Am I particularly inclined to modify the parsing logic to find unsupported markup? No, not really. --[[User:Thundergnat|Thundergnat]] ([[User talk:Thundergnat|talk]]) 15:55, 31 January 2022 (UTC)
10,327

edits