This commit is contained in:
2026-06-16 01:27:54 +09:00
parent 5d6a03b74f
commit 4e82f47f90
31 changed files with 141 additions and 112 deletions
@@ -6,7 +6,7 @@ composition expression は、複数の値・制約・構造を合成する式で
`&` は制約を保った合成を行う。
```n
```dcdl
Port = Int & >= 1 & <= 65535;
Config = MyConfig & { port = 8000; };
```
@@ -15,7 +15,7 @@ Config = MyConfig & { port = 8000; };
`//` は右辺優先の構造的 patch を行う。
```n
```dcdl
Patched = Base // {
feature_hoge.enable = false;
};