Skip to content

Instantly share code, notes, and snippets.

@chespinoza
Created January 14, 2014 05:13
Show Gist options
  • Select an option

  • Save chespinoza/8413427 to your computer and use it in GitHub Desktop.

Select an option

Save chespinoza/8413427 to your computer and use it in GitHub Desktop.
Guards
(defn make-greetings
[hello]
{:pre [(string? hello) (< (count hello) 10)] ; pre-validation guards
:post [(string? %)]} ; result validation
(fn [name]
(str hello " " name "!")))
@ahmadraza03067678767-cpu

Premium dental protection with comfortable fit and durable materials. https://okiguards.com/product/hard-night-guards/ delivers hard night guards that reduce grinding, safeguard enamel, and improve sleep for healthier smiles.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment