Would be nice if Nim supported object destructors:
func sumPoints((x1, y1), (x2, y2): Point2D): Point2D = (x1 + x2, y1 + y2)
Run
- Is there more simple way to solve this task? Orlean
- Is there more simple way to solve this task? Araq
- Is there more simple way to solve this task? Orlean
- Is there more simple way to solve this task? geekrelief
- Is there more simple way to solve this ta... Orlean
- Is there more simple way to solve th... jorjun_arch
- Is there more simple way to solv... alexeypetrushin
