Permalink
Browse files

Tweaks to post

  • Loading branch information...
1 parent bbacf5c commit 70fd4fed88c22eef9836377ea276af09d42ee890 @djhworld committed Mar 6, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 _posts/2012-03-06-reduce-reduce.md
@@ -18,8 +18,8 @@ implementing the ```sum``` function (which is oddly absent from the
Clojure standard libraries)
{% highlight clojure %}
- (reduce + 0 (range 10))
- ;=> 45
+(reduce + 0 (range 10))
+;=> 45
{% endhighlight %}
But what does this actually mean? What is going on here? Well to gain
@@ -70,8 +70,8 @@ re-usable
;=> 120
{% endhighlight %}
-* **Note:** I've named it ```suck-sequence``` because the process
-'sucks' each value from the top of the sequence until it's empty!*
+**Note** *I've named it ```suck-sequence``` because the process
+ 'sucks' each value from the top of the sequence until it's empty!*
This is in essence what ```reduce``` does. While the underlying
code in Clojure may be different and more efficient, the core

0 comments on commit 70fd4fe

Please sign in to comment.