AndyM to Concatenative ProgrammingEnglish · 1 year agoDesigning Code For Forward Progressrtpg.coCodestin Search AppCodestin Search App1Codestin Search AppCodestin Search AppCodestin Search App2Codestin Search App0Codestin Search App
Codestin Search App2Codestin Search AppCodestin Search AppDesigning Code For Forward Progressrtpg.coAndyM to Concatenative ProgrammingEnglish · 1 year agoCodestin Search App1Codestin Search AppCodestin Search AppCodestin Search App
Codestin Search AppAndyOPMCodestin Search AppCodestin Search AppEnglishCodestin Search App1·1 year agoThe given Uiua example (mercifully given using words rather than the symbols): [3 4 5 10 23] divide length on /+ For all the talk about “forward” it’s uncomfortable to me how the Uiua evaluation within a line happens backward. An equivalent in Factor, where keep is close to on: { 3 4 5 10 23 } [ sum ] keep length / But this pattern of doing two things in sequence to the same item is common enough that bi is handy: { 3 4 5 10 23 } [ sum ] [ length ] bi /
The given Uiua example (mercifully given using words rather than the symbols):
For all the talk about “forward” it’s uncomfortable to me how the Uiua evaluation within a line happens backward.
An equivalent in Factor, where
keepis close toon:But this pattern of doing two things in sequence to the same item is common enough that
biis handy: