Skip to content

Instantly share code, notes, and snippets.

@gutomcosta
Created September 15, 2011 04:40
Show Gist options
  • Save gutomcosta/1218548 to your computer and use it in GitHub Desktop.
Save gutomcosta/1218548 to your computer and use it in GitHub Desktop.
Negócio
(defn create-negocio
[preco quantidade data]
(assert (not (nil? data)))
(assert (> preco 0))
(Negocio. data preco quantidade))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment