portland-or 2015-11-06

@bill has joined the channel

@russ has joined the channel

@masonbrowne has joined the channel

@liss has joined the channel

@gregzuro has joined the channel

Good morning, Knights that used to call themselves Clojerks!

@joshmiller has joined the channel

@ffreire has joined the channel

@utvar has joined the channel

@whoahbot has joined the channel

finishing up my last Ruby project…um…soon

@bill: How about some internal clojure lib therapy?

class Atom
    def initialize(value)
      @value = value
      @mutex = Mutex.new
    end

    def deref()
      @mutex.synchronize {
        @value
      }
    end

    def reset(value)
      @mutex.synchronize {
        @value = value
      }
    end
  end

🤖 1

you can implement swap the same way if you need it simple_smile