Skip to content
Snippets Groups Projects
Commit 5bf0fd3b authored by manfr689's avatar manfr689
Browse files

Sumission part 3

parent 4a75a26d
No related branches found
No related tags found
No related merge requests found
...@@ -4,7 +4,7 @@ in the blanks, but most parts of the code are very similar.""" ...@@ -4,7 +4,7 @@ in the blanks, but most parts of the code are very similar."""
for (name,op) in [(:add, :+), (:sub, :-), (:mul, :*)] for (name,op) in [(:add, :+), (:sub, :-), (:mul, :*)]
# Create a function that is named for example add and returns the # Create a function that is named for example add and returns the
# sum of its two arguments # sum of its two arguments
@eval Base.$name(x,y) = x + y
end end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment