Closed goyalyashpal closed 10 months ago
Sorry, it is unclear to me what you are asking. Is the code behaving in a way that is unexpected? Is there some way you would like to organize your code that you cannot?
Is the code behaving in a way that is unexpected?
y-s, cod- is working fin-; no probl-m with cod-
Is there some way you would like to organize your code that you cannot?
yep
so, in c for example, if you hav- two lin-s of cod- and you want to mak- th-m on sam- lin-, it's no issu- as -v-ry lin- -nds with a s-micolon.
i was looking for som-thing similar so that i can m-rg- two lin-s of uiua cod- just pr-s-ntation wis- without alt-ring th-ir functionality
(k-yboard's '-' k-y is not functioning prop-rly, so, i hav- add-d dash-s th-r- ; hop- it's not too annoying)
Can't you just put them on the same line?
intd ← ∶ →◿ ⌊÷ ,,
div ← ↥ × +1 ⇡
intd 2 +1 ⇡6
div 6
div 6 intd 2 +1 ⇡6
Output:
[1 1 3 2 5 3]
[1 1 3 2 5 3]
i tried last time - but it showed error; it's working fine now
might be due to smth else which i conflated with merging lines 😵😵
hi! thanks for such a wonderful language & project
I was thinking something like any of these:
so, like here,
div 6
depends the output of previous command to be on the stackand: the rest others here can be commented out or even deleted as they are all same, but this outlier has to be there
a screenshot took midway during cleanup of brainstorming done on the smartphone