<< Back to previous view

[CONTRIB-19] Re-add auto-agent.clj Created: 19/Aug/09  Updated: 24/Aug/10

Status: Open
Project: Clojure-Contrib
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Defect
Reporter: Anonymous Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None


This was discussed briefly on the clojure dev list, but no consensus was reached. Instead, I have attached the changes that have fixed the original library and if the clojure-contrib members wish to include it (again), then it's readily available.

The original code by Sierra required 2 changes to get working. First, @ was macro-expanding to a lazy-seq, so the filtering based on list? would fail. Second, I added a check for an explicit call to (deref). Also, I re-added auto-agent namespace for compilation to build.xml.

My live changes can be found at: http://github.com/fogus/clojure-contrib/tree/auto-agent-again. The tests can be run with (run-tests 'clojure.contrib.auto-agent).

If it is merged back into the contrib master, then I would be happy to roll the tests into the test-contrib framework.

Comment by Assembla Importer [ 24/Aug/10 4:15 AM ]

Converted from http://www.assembla.com/spaces/clojure/tickets/19
auto-agent-again.diff - https://www.assembla.com/spaces/clojure/documents/dHYyXWJour3OEFeJe5afGb/download/dHYyXWJour3OEFeJe5afGb

Comment by Assembla Importer [ 24/Aug/10 4:15 AM ]

fogus said: [file:dHYyXWJour3OEFeJe5afGb]

Comment by Assembla Importer [ 24/Aug/10 4:15 AM ]

stuart.sierra said: Updating tickets (#28, #32, #45, #47, #51, #19)

Generated at Wed Jan 24 05:06:19 CST 2018 using JIRA 4.4#649-r158309.