<< 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


 Description   

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.



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

Converted from http://www.assembla.com/spaces/clojure/tickets/19
Attachments:
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 Fri Apr 25 01:46:16 CDT 2014 using JIRA 4.4#649-r158309.