aboutsummaryrefslogtreecommitdiffhomepage
path: root/services/nuldoc/public/blog/posts/2021-10-02
diff options
context:
space:
mode:
Diffstat (limited to 'services/nuldoc/public/blog/posts/2021-10-02')
-rw-r--r--services/nuldoc/public/blog/posts/2021-10-02/cpp-you-can-use-keywords-in-attributes.md2
-rw-r--r--services/nuldoc/public/blog/posts/2021-10-02/python-unbound-local-error.md2
-rw-r--r--services/nuldoc/public/blog/posts/2021-10-02/ruby-detect-running-implementation.md2
-rw-r--r--services/nuldoc/public/blog/posts/2021-10-02/ruby-then-keyword-and-case-in.md4
-rw-r--r--services/nuldoc/public/blog/posts/2021-10-02/rust-where-are-primitive-types-from.md2
-rw-r--r--services/nuldoc/public/blog/posts/2021-10-02/vim-difference-between-autocmd-bufwrite-and-bufwritepre.md10
-rw-r--r--services/nuldoc/public/blog/posts/2021-10-02/vim-swap-order-of-selected-lines.md2
7 files changed, 12 insertions, 12 deletions
diff --git a/services/nuldoc/public/blog/posts/2021-10-02/cpp-you-can-use-keywords-in-attributes.md b/services/nuldoc/public/blog/posts/2021-10-02/cpp-you-can-use-keywords-in-attributes.md
index 5072a13c..70068754 100644
--- a/services/nuldoc/public/blog/posts/2021-10-02/cpp-you-can-use-keywords-in-attributes.md
+++ b/services/nuldoc/public/blog/posts/2021-10-02/cpp-you-can-use-keywords-in-attributes.md
@@ -4,7 +4,7 @@ uuid = "69863d75-ef21-42db-b743-5958f7c86827"
title = "【C++】 属性構文の属性名にはキーワードが使える"
description = "C++ の属性構文の属性名には、キーワードが使える。ネタ記事。"
tags = [
- "cpp",
+ "cpp",
]
[[article.revisions]]
diff --git a/services/nuldoc/public/blog/posts/2021-10-02/python-unbound-local-error.md b/services/nuldoc/public/blog/posts/2021-10-02/python-unbound-local-error.md
index 78f7370d..642afc09 100644
--- a/services/nuldoc/public/blog/posts/2021-10-02/python-unbound-local-error.md
+++ b/services/nuldoc/public/blog/posts/2021-10-02/python-unbound-local-error.md
@@ -4,7 +4,7 @@ uuid = "e1aff84c-d6d4-4dea-bc45-9c41e6445006"
title = "【Python】 クロージャとUnboundLocalError: local variable 'x' referenced before assignment"
description = "Python における UnboundLocalError の理由と対処法。"
tags = [
- "python",
+ "python",
]
[[article.revisions]]
diff --git a/services/nuldoc/public/blog/posts/2021-10-02/ruby-detect-running-implementation.md b/services/nuldoc/public/blog/posts/2021-10-02/ruby-detect-running-implementation.md
index fd721024..1552b176 100644
--- a/services/nuldoc/public/blog/posts/2021-10-02/ruby-detect-running-implementation.md
+++ b/services/nuldoc/public/blog/posts/2021-10-02/ruby-detect-running-implementation.md
@@ -4,7 +4,7 @@ uuid = "e1456a50-4fc6-42ef-89f3-8be78e01da13"
title = "【Ruby】 自身を実行している処理系の種類を判定する"
description = "Ruby には複数の実装があるが、自身を実行している処理系の種類をスクリプト上からどのように判定すればよいだろうか。"
tags = [
- "ruby",
+ "ruby",
]
[[article.revisions]]
diff --git a/services/nuldoc/public/blog/posts/2021-10-02/ruby-then-keyword-and-case-in.md b/services/nuldoc/public/blog/posts/2021-10-02/ruby-then-keyword-and-case-in.md
index 74ea919e..e53a6bd4 100644
--- a/services/nuldoc/public/blog/posts/2021-10-02/ruby-then-keyword-and-case-in.md
+++ b/services/nuldoc/public/blog/posts/2021-10-02/ruby-then-keyword-and-case-in.md
@@ -4,7 +4,7 @@ uuid = "87455008-fe5b-49bf-af5a-b875264f8326"
title = "【Ruby】 then キーワードと case in"
description = "Ruby 3.0 で追加される case in 構文と、then キーワードについて"
tags = [
- "ruby",
+ "ruby",
]
[[article.revisions]]
@@ -218,6 +218,6 @@ end
# まとめ {#outro}
* `if` や `case` の条件の後ろには `then`、`;`、改行のいずれかが必要
- * 通常は改行しておけばよい
+ * 通常は改行しておけばよい
* 3.0 で入る予定の `case` - `in` でも `then` 等が必要になる
* Ruby の構文を正確に知るには (現状) `parse.y` を直接読めばよい
diff --git a/services/nuldoc/public/blog/posts/2021-10-02/rust-where-are-primitive-types-from.md b/services/nuldoc/public/blog/posts/2021-10-02/rust-where-are-primitive-types-from.md
index ab7345eb..cb8a77a8 100644
--- a/services/nuldoc/public/blog/posts/2021-10-02/rust-where-are-primitive-types-from.md
+++ b/services/nuldoc/public/blog/posts/2021-10-02/rust-where-are-primitive-types-from.md
@@ -4,7 +4,7 @@ uuid = "91c61980-c262-4e8d-89b0-4304e7f6d644"
title = "Rust のプリミティブ型はどこからやって来るか"
description = "Rust のプリミティブ型は予約語ではなく普通の識別子である。どのようにこれが名前解決されるのかを調べた。"
tags = [
- "rust",
+ "rust",
]
[[article.revisions]]
diff --git a/services/nuldoc/public/blog/posts/2021-10-02/vim-difference-between-autocmd-bufwrite-and-bufwritepre.md b/services/nuldoc/public/blog/posts/2021-10-02/vim-difference-between-autocmd-bufwrite-and-bufwritepre.md
index 945e2703..722c1fd0 100644
--- a/services/nuldoc/public/blog/posts/2021-10-02/vim-difference-between-autocmd-bufwrite-and-bufwritepre.md
+++ b/services/nuldoc/public/blog/posts/2021-10-02/vim-difference-between-autocmd-bufwrite-and-bufwritepre.md
@@ -4,7 +4,7 @@ uuid = "44171f75-c312-4c92-9927-3d260e162175"
title = "【Vim】 autocmd events の BufWrite/BufWritePre の違い"
description = "Vim の autocmd events における BufWrite/BufWritePre がどう違うのかを調べた結果、違いはないことがわかった。"
tags = [
- "vim",
+ "vim",
]
[[article.revisions]]
@@ -101,13 +101,13 @@ FileEncoding Obsolete. It still works and is equivalent
記事タイトルについて言えば、どちらも変わらないので好きな方を使えばよい。あえて言えば、次のようになるだろう。
* `BufAdd`/`BufCreate`
- * → `BufCreate` は歴史的な理由により ("for historic reasons") 存在しているため、新しい方 (`BufAdd`) を使う
+ * → `BufCreate` は歴史的な理由により ("for historic reasons") 存在しているため、新しい方 (`BufAdd`) を使う
* `BufRead`/`BufReadPost`
- * → `BufReadPre` との対称性のため、あるいは `BufWritePost` との対称性のため `BufReadPost` を使う
+ * → `BufReadPre` との対称性のため、あるいは `BufWritePost` との対称性のため `BufReadPost` を使う
* `BufWrite`/`BufWritePre`
- * → `BufWritePost` との対称性のため、あるいは `BufReadPre` との対称性のため `BufWritePre` を使う
+ * → `BufWritePost` との対称性のため、あるいは `BufReadPre` との対称性のため `BufWritePre` を使う
* `FileEncoding`/`EncodingChanged`
- * → `FileEncoding` は "Obsolete" と明言されているので、`EncodingChanged` を使う
+ * → `FileEncoding` は "Obsolete" と明言されているので、`EncodingChanged` を使う
ところでこの調査で知ったのだが、`BufRead` と `BufWrite`
は上にある通り発火するタイミングが「後」と「前」で対称性がない。可能なら
diff --git a/services/nuldoc/public/blog/posts/2021-10-02/vim-swap-order-of-selected-lines.md b/services/nuldoc/public/blog/posts/2021-10-02/vim-swap-order-of-selected-lines.md
index 6f4ca34d..b71bef0a 100644
--- a/services/nuldoc/public/blog/posts/2021-10-02/vim-swap-order-of-selected-lines.md
+++ b/services/nuldoc/public/blog/posts/2021-10-02/vim-swap-order-of-selected-lines.md
@@ -4,7 +4,7 @@ uuid = "665de47e-0ed6-405e-ad30-81c3c4592d45"
title = "Vimで選択した行の順番を入れ替える"
description = "Vim で選択した行の順番を入れ替える方法。"
tags = [
- "vim",
+ "vim",
]
[[article.revisions]]