Praneet Tiwari

On Programming

Thursday, June 5, 2014

Answers to Clojure Koans from 1 to 15


  1. ClojureKoans Answers and Explanations - 1 - Equalities
  2. ClojureKoans Answers and Explanations - 2 - Lists 
  3. ClojureKoans Answers and Explanations - 3 - Vectors 
  4. ClojureKoans Answers and Explanations - 4 - Sets 
  5. ClojureKoans Answers and Explanations - 5 - Maps 
  6. ClojureKoans Answers and Explanations - 6 - functions 
  7. ClojureKoans Answers and Explanations - 7 - Conditionals
  8. ClojureKoans Answers and Explanations - 8 - Higher Order Functions
  9.  ClojureKoans Answers and Explanations - 9 - Runtime polymorphism
  10. ClojureKoans Answers and Explanations - 10 - Lazy Sequences
  11. ClojureKoans Answers and Explanations - 11 - Sequence Comprehension
  12. ClojureKoans Answers and Explanations - 12 - Creating Functions
  13. ClojureKoans Answers and Explanations - 13 - Recursion
  14. ClojureKoans Answers and Explanations - 14 - Destructuring
  15. ClojureKoans Answers and Explanations - 15 - Refs
Posted by Praneet Tiwari at 12:54 AM
Labels: clojure, koan

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

About Me

My photo
Praneet Tiwari
I am a programmer by trade and a trader by mental programming.
View my complete profile

Total Pageviews

Search This Blog

Labels

  • Algorithms
  • clojure
  • Data structures
  • functional programming
  • Java
  • Java 8
  • koan
  • Lambda
  • Project Euler
  • pure functions
  • Python
  • references
  • scala
  • λ

Pages

  • Home
  • Clojure
  • Scala
  • On Lisp Home
  • Python
  • QuickBasic Cafe

Popular Posts

  • Bit Twiddling in Python – 1 – Basic operations
    The  2's  Complement form In the true spirit of the code first approach of this post, we will let the Python interpreter...
  • Clojure Koans Answers and Explanations - 15 - Refs
    Let's look at the solutions for the next of Clojure Koans -Refs. ;refs ( def the-world ( ref "hello" ) ) ( def biz...
  • Two patents granted; thanks to great colleagues
    Been busy as crazy for some time but it's time to resume the blog with some non-programming stuff. Meanwhile, two of my patent app...
  • Bit Twiddling in Python – 2 – Basic hacks
    Before we begin, please note that LSB means least significant bit and not  necessarily  last (significant) set bit. 1.       Determine...
  • Clojure Koans Answers and Explanations - 11 - Sequence Comprehension
    Let's look at the solutions for the next of Clojure Koans -Sequence Comprehension. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;1 ( = __  ...
  • Bit Twiddling in Python – 3 – Basic hacks
    After Part 1 and Part 2 , let's look at a few more basic hacks. Finding if nth bit is set or not In the last post we found out if...
  • Clojure Koans Answers and Explanations - 13 - Recursion
    Let's look at the solutions for the next of Clojure Koans -Recursion. ;recursion ( defn is-even? [n]   ( if ( = n 0 )     ...
  • Mandatory Hello World!, 42 epidemic in Scala
    One of the two mandatory rituals in learning a new language is to print “Hello World!” The other ritual that has been gainin...
  • Variable arguments in Scala
    Almost all modern day languages have a facility to create methods/functions which take in variable number of arguments. Some of the l...
  • Clojure Koans Answers and Explanations - 14 - Destructuring
    Let's look at the solutions for the next of Clojure Koans -Destructuring. ; destructuring ( def test-address   { :street-addres...
(c) 2016. Simple theme. Powered by Blogger.