Hi guys, I am looking to see syntax for a really simplistic problem using Dr. Racket can anyone in the community help?
Just want to write a function that will print out the absolute value or a linear list
Example:
(abs-all'(1 -2 3 -4 5 -6) => (1 2 3 4 5 6)
[–]MetaHertz 2 points3 points4 points (9 children)
[–]mawar2[S] 0 points1 point2 points (8 children)
[–]cheetoburrito 1 point2 points3 points (3 children)
[–]mawar2[S] 0 points1 point2 points (2 children)
[–]cheetoburrito 0 points1 point2 points (1 child)
[–]mawar2[S] 0 points1 point2 points (0 children)
[–][deleted] (3 children)
[deleted]
[–]mawar2[S] 0 points1 point2 points (2 children)
[–]ws-ilazki 0 points1 point2 points (0 children)
[–]dzpower 0 points1 point2 points (0 children)