clojure-uebungen/Assignment_009/solution
Thomas Smits 04dda27e57 Update of exercises 2024-03-11 10:41:23 +01:00
..
readme.md Update of exercises 2024-03-11 10:41:23 +01:00

readme.md

Lösung: Vor- und Nachbedingung

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