<i>lseq "count" argument also dictates output formatting</i> status still Open with 3 other changes
by
.
D 2024-08-31T05:25:49.672
J icomment My\stwo\scents\s-\r\n\r\nI\sthink\sthe\sphrase\s"string\srepresentation"\sin\sthe\sinitial\sreport\sconfused\sthe\sreal\sissue\swhich\sis\sabout\show\sa\ssingle\sargument\sis\sinterpreted.\r\n\r\nI\stend\sto\sagree\swith\sNathan\sand\sHarald\swith\sthe\sinterpretation\sof\sa\ssingle\sargument\sas\sa\scount,\sboth\sbecause\sit\sfeels\smore\snatural\sto\sme\sand\smatches\scurrent\sbehavior.\sSergey's\sinterpretation\sof\sa\ssingle\sargument\sas\sthe\s"end"\s(if\sI\sread\shis\ssuggested\sdocument\schange\sright)\ssubjectively\sfeels\sless\snatural\sand\smore\simportant\swould\sbe\sa\schange\sin\sbehavior\sas\sHarald\spoints\sout\s(lseq\s3\swould\sreturn\s4\selements\sinstead\sof\scurrent\s3).\r\n\r\nIf\sinterpreted\sas\sa\scount\sthen,\sthe\squestion\sremains\swhether\sfloating\svalues\sshould\sbe\saccepted\sif\sthey\sare\swhole\sintegers.\sWhile\sit\smight\sbe\smildly\sconvenient\sfor\s`lseq\s100.0`\sto\sgenerate\sa\sfloating\spoint\ssequence,\sfor\sa\sgraph\saxis\se.g.,\s\sI\sagree\sthat\simplicitly\sbasing\sthe\stype\sof\sthe\ssequence\svalues\son\sthe\scount\sargument\sis\snot\sdesirable\sor\sshould\sat\sleast\sbe\sdocumented.\r\n\r\nAll\sin\sall,\sTL;DR\smy\spreference\sis\sthe\ssingle\sargument\sto\sbe\sstay\sinterpreted\sas\sa\scount\sbut\sonly\saccept\sintegers\s(not\s3.0).\r\n\r\n/Ashok
J login apnadkarni
J mimetype text/x-markdown
K f4a4bd7f107031f273642cbaefc3cbed72315b1f
U apnadkarni
Z 0226438d79cd2246c6bd68f3e99b7afd