puniverse / pulsar

Fibers, Channels and Actors for Clojure
http://docs.paralleluniverse.co/pulsar/
Other
911 stars 53 forks source link

The original example does not return what is commented. #26

Closed calam1 closed 9 years ago

calam1 commented 9 years ago

The original example returned the Fiber and is confusing, since the comment says that it should return the value of 7 (; => 7). This caused me some confusion and made the instructions a little more difficult to follow.

Also the test example falls in line with the changes I made.

<Fiber Fiber@10000037[task: ParkableForkJoinTask@4347197b(Fiber@10000037), target: co.paralleluniverse.pulsar.ClojureHelper$3@70d9fcbe, scheduler: co.paralleluniverse.fibers.FiberForkJoinScheduler@4787a03c]>

circlespainter commented 9 years ago

Thanks!