This commit is contained in:
2026-06-16 00:45:10 +09:00
commit 5d6a03b74f
32 changed files with 1443 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
# String
`String` は文字列値を表す primitive type constraint である。
## 例
```n
name = String;
greeting = String default "hello";
```
## 制約合成
`String` は文字列制約と合成できる。
```n
message = String & /Hello! .*/;
```
正規表現制約を必須機能にするかは未確定である。