Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
11
Task/Arithmetic-Complex/LFE/arithmetic-complex-5.lfe
Normal file
11
Task/Arithmetic-Complex/LFE/arithmetic-complex-5.lfe
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
(defun ->str
|
||||
(((match-complex real r img i)) (when (>= i 0))
|
||||
(->str r i "+"))
|
||||
(((match-complex real r img i))
|
||||
(->str r i "")))
|
||||
|
||||
(defun ->str (r i pos)
|
||||
(io_lib:format "~p ~s~pi" `(,r ,pos ,i)))
|
||||
|
||||
(defun print (cmplx)
|
||||
(io:format (++ (->str cmplx) "~n")))
|
||||
Loading…
Add table
Add a link
Reference in a new issue