Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
courses:cs377-201951:week10 [2019/04/10 01:37]
mlsmith [Channels, CSP, and Go]
courses:cs377-201951:week10 [2019/04/10 01:45]
mlsmith [Channels, CSP, and Go]
Line 36: Line 36:
         * all three parts are optional: init statement, conditional expression, post statement         * all three parts are optional: init statement, conditional expression, post statement
       * channel declarations in function headers       * channel declarations in function headers
-        * can specify syntactically whether channel is for reading from (''<-chan''), or writing to (''chan<-'')+        * can specify syntactically whether channel is for reading from: <code><-chan</code> or writing to: <code>chan<-</code>