ex5_9

command
v0.0.0-...-94c99f4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 23, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Write a function `expand(s string, f func(string) string) string` that replaces each substring `$foo` within `s` by the text returned by `f("foo")`.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL