Skip to content
Snippets Groups Projects
Commit a4f17e5d authored by simsc266's avatar simsc266
Browse files

1 and 2

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