clojure-uebungen/Assignment_009/solution
Thomas Smits 7e3ec9e2da Update of exercises 2024-07-07 13:05:30 +02:00
..
readme.md Update of exercises 2024-07-07 13:05:30 +02:00

readme.md

Lösung: Vor- und Nachbedingung

(defn sqrt [n]
  { :pre [(>= n 0)]
    :post [(>= % 0)]}
    (Math/sqrt n))