ex09

command
v0.0.0-...-d153a89 Latest Latest
Warning

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

Go to latest
Published: May 24, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

*

  • 文字列 s 内のそれぞれの部分文字列 "$foo" を f("foo") が返すテキストで置換する関数 expand(s string, f func(string) string) string を書きなさい。
  • $ で始まる任意の単語を探して、 $以降の文字列で関数 f を呼び出した結果のテキストです。

Jump to

Keyboard shortcuts

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