<< Back to previous view

[ASYNC-153] Return value of pipe is not documented Created: 29/Nov/15  Updated: 29/Nov/15

Status: Open
Project: core.async
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Enhancement Priority: Trivial
Reporter: Viktor Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: docstring

Approval: Triaged

 Description   

pipe explicitly returns its "to" channel, but it's not documented.

If that's how it should work, this should be documented.






[ASYNC-151] Accept optional transducer in `to-chan` Created: 18/Nov/15  Updated: 18/Nov/15

Status: Open
Project: core.async
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Enhancement Priority: Trivial
Reporter: Karlis Lauva Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None

Attachments: Text File to-chan-xducer.patch    
Patch: Code and Test

 Description   

Allow `clojure.core.async/to-chan` accept an optional transducer that gets passed to the newly created channel.
Why? With transducer passed directly in `to-chan` there is no need to use `pipe` or `onto-chan` with an explicitly created a channel that has transducer attached.

This is my first patch for a Clojure project. Please let me know if something was wrong / missing when creating the ticket.






[ASYNC-54] MAX-QUEUE-SIZE has a wrong type-hint Created: 11/Feb/14  Updated: 23/Jun/14

Status: Open
Project: core.async
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Defect Priority: Trivial
Reporter: Nicola Mometto Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None

Attachments: Text File 0001-Fix-MAX-QUEUE-SIZE-type-hint-def-evaluates-the-metad.patch    

 Description   

Since `def` evaluated the metadata on the symbol by design, primitive type hints needs to be quoted to avoid resolving to the homonimous clojure.core function



 Comments   
Comment by Alex Miller [ 23/Jun/14 3:22 PM ]

Actually, I think no hint is needed here at all and it should just be removed. Clojure will just inline a primitive long for the MAX-QUEUE-SIZE where it is used.





Generated at Fri Feb 12 14:45:52 CST 2016 using JIRA 4.4#649-r158309.