Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
jlangch committed Sep 13, 2023
1 parent ea8b053 commit 64ee3f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/readme/functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,8 @@ are available with Venice 1.11.x.
imaginary :long])

(defn sum [^:foo/complex x ^:foo/complex y]
(complex. (+ (:real x) (:imaginary x))
(+ (:real y) (:imaginary y))))
(complex. (+ (:real x) (:imaginary x))
(+ (:real y) (:imaginary y))))

(sum (complex. 1 2) (complex. 5 8)))
```
Expand Down

0 comments on commit 64ee3f0

Please sign in to comment.