Directories ¶
Path | Synopsis |
---|---|
The instructor of the linear algebra course decids that calculus is now a prerequisite.
|
The instructor of the linear algebra course decids that calculus is now a prerequisite. |
Write variadic funcions max and minx, analogous to sum.
|
Write variadic funcions max and minx, analogous to sum. |
Write a variadic version of strings.Join
|
Write a variadic version of strings.Join |
Without changing its behaviour rewrite the fetch function to use defer to close the writable file.
|
Without changing its behaviour rewrite the fetch function to use defer to close the writable file. |
Use panic and recover to write a function that contains no return statement yet return a non-zero value.
|
Use panic and recover to write a function that contains no return statement yet return a non-zero value. |
Write a function to print the contents of all text nodes in an HTML document tree.
|
Write a function to print the contents of all text nodes in an HTML document tree. |
Implement countWordsAndImages (see exercise 4.9 for word-splitting)
|
Implement countWordsAndImages (see exercise 4.9 for word-splitting) |
Develop startElement and endElement into a general HTML pretty printer.
|
Develop startElement and endElement into a general HTML pretty printer. |
Modify forEachNode so that the pre and post functions return a boolean result indicating whether to continue the traversal.
|
Modify forEachNode so that the pre and post functions return a boolean result indicating whether to continue the traversal. |
Write a function expand(s string, f func(string) string) string that replaces each substring "$foo" withing s by the text returned by f("foo").
|
Write a function expand(s string, f func(string) string) string that replaces each substring "$foo" withing s by the text returned by f("foo"). |
Click to show internal directories.
Click to hide internal directories.