less parens
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
psrc
src
.gitignore
README.md
pvizer.rb

README.md

pvizer

begin -> ( end -> )

lisp with lesser parens and more space.

$ gem install filewatcher
$ ~/bin/pvizer psrc src
begin defn qsort [L]
  begin
    if (empty? L)
      '()
      begin
          let [[pivot & L2] L]
            (lazy-cat (qsort (for [y L2 :when (<  y pivot)] y))
                      (list pivot)
                      (qsort (for [y L2 :when (>= y pivot)] y)))
      end
   end
end

(println (qsort [5 4 6]))