| ページ一覧 | ブログ | twitter |  書式 | 書式(表) |

MyMemoWiki

差分

ナビゲーションに移動 検索に移動
222 バイト追加 、 2021年12月4日 (土) 14:58
</pre>
==型のネスト==
*型の中に型を定義できる
<pre>
12> struct Foo {
13. enum Bar {
14. case a
15. case b
16. case c
17. }
18. }
19> let bar = Foo.Bar.b
20> bar
$R1: Foo.Bar = b
</pre>
==プロトコル==

案内メニュー