Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

/prog/-riders...

Name: Anonymous 2008-09-27 4:50

I'm feeling depressed again. What do you do whenever you feel sad?
tl;dr: Haskell.
http://i31.tinypic.com/mltk5w.jpg
http://i31.tinypic.com/9atmqo.jpg

Name: Anonymous 2008-09-30 9:32

require 'camping'

Camping.goes :Dongs

module Dongs::Controllers
  class Index < R '/', '/dongs'
    def get
      render :dongs
    end
  end
end

module Dongs::Views
  def layout
    xhtml_strict do
      title ""
      body do
        yield
      end
    end
  end

  def dongs
    ul.dongs! {
      5.times { li "dongs" }
    }
  end
end

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List