the early cat gets the bird
@l@lea.pet
hello fedi does go have an equivalent to list.map()
hello fedi does go have an equivalent to list.map()
@4censord@unfug.social
@l do you just want to iterate over a list, or is the map syntax (and possibility to then do further things on it) important?
for iterating over lists there is for range (https://go.dev/tour/moretypes/16)
@4censord@unfug.social yea i wanna map every item in a list to a different type and would be nice if there was a shrimple oneliner function for that