04dda27e57 | ||
---|---|---|
.. | ||
readme.md |
readme.md
Lösung: Vor- und Nachbedingung
(defn sqrt [n]
{ :pre [(>= n 0)]
:post [(> % 0)]}
(Math/sqrt n))
04dda27e57 | ||
---|---|---|
.. | ||
readme.md |
(defn sqrt [n]
{ :pre [(>= n 0)]
:post [(> % 0)]}
(Math/sqrt n))