Skip to content

Instantly share code, notes, and snippets.

@jprudent
Created September 8, 2013 15:00
Show Gist options
  • Save jprudent/6485375 to your computer and use it in GitHub Desktop.
Save jprudent/6485375 to your computer and use it in GitHub Desktop.
Convert a clojure sequence to a scala.collection.immutable.List
(defn to-scala-list [& vals]
(reduce
#(.apply scala.collection.immutable.$colon$colon$/MODULE$ %2 %1)
(scala.collection.immutable.Nil$/MODULE$)
(map to-jmhc-tile vals)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment