@bill has joined the channel
@russ has joined the channel
hello clojure-pdx!
@masonbrowne has joined the channel
@justaboutnormal has joined the channel
@liss has joined the channel
@howardabrams 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
@ryankee has joined the channel
@fadrian 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
endyou can implement swap the same way if you need it simple_smile