portland-or

bill 2015-11-06T13:56:14.000002Z

@bill has joined the channel

2015-11-06T15:49:54.000003Z

@russ has joined the channel

2015-11-06T15:50:00.000004Z

hello clojure-pdx!

masonbrowne 2015-11-06T17:09:29.000005Z

@masonbrowne has joined the channel

2015-11-06T17:13:17.000006Z

@justaboutnormal has joined the channel

liss 2015-11-06T18:00:47.000007Z

@liss has joined the channel

2015-11-06T18:09:42.000008Z

@howardabrams has joined the channel

gregzuro 2015-11-06T18:09:56.000009Z

@gregzuro has joined the channel

2015-11-06T18:10:01.000010Z

Good morning, Knights that used to call themselves Clojerks!

joshmiller 2015-11-06T18:12:56.000011Z

@joshmiller has joined the channel

ffreire 2015-11-06T19:05:36.000012Z

@ffreire has joined the channel

2015-11-06T20:03:04.000013Z

@utvar has joined the channel

2015-11-06T20:05:33.000014Z

@ryankee has joined the channel

2015-11-06T20:21:59.000015Z

@fadrian has joined the channel

whoahbot 2015-11-06T23:32:21.000016Z

@whoahbot has joined the channel

bill 2015-11-06T23:36:54.000017Z

finishing up my last Ruby project…um…soon

2015-11-06T23:43:07.000018Z

@bill: How about some internal clojure lib therapy?

2015-11-06T23:43:34.000019Z

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
2015-11-06T23:43:59.000020Z

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