   ([spark-context lst num-slices] (.parallelize spark-context lst num-slices)))
 
 ;; ## Transformations
+;;
+;; Function for transforming RDDs
+;;
 (defn map
   [rdd f]
   (.map rdd (function f)))

  (sparkop [x] (u/truthy? (f x))))

;; ## RDD construction
(defn text-file [spark-context filename]
  (.textFile spark-context filename))


  (.sample rdd with-replacement? fraction seed))

;; ## Actions
;;
;; Action return their results to the driver process.
;;
(defn count-by-key
  "Only available on RDDs of type (K, V).
  Returns a map of (K, Int) pairs with the count of each key."
