About This

If all goes well, this will become a little online Clojure tutorial for the Facebook Clojure Community.

If it doesn't go well, blame me - my name is Carl Smotricz and I'm the only (so far) author.

I'm no Clojure guru. I'm an enthusiast looking to share my enthusiasm with others. Comments, suggestions, criticism, contributions are welcome.

A. Function Glossary

This page lists the Clojure functions introduced in this tutorial series, in order of introduction.




PageFunctionsPurpose
Adding Your Contribution +, -, *, /Standard arithmetic
Writing a Function defnDefining a function
Decisions, Decisions! ifbranching
<test for less-than
and, orlogical operands
Maximum Success! >like <, but the other way around.
deftestName and define a test case for one or more functions
isAssert that the contained condition is true.
You'll be notified if it isn't.
More Arguments printlnPrint all arguments in human-readable form,
then a newline.
firstreturn the first element of a list, or nil if it's empty.
secondreturn the second element of a list, or nil if there isn't one.

No comments:

Post a Comment