Skip to content

Commit e73e4df

Browse files
author
Yuji Yamamoto
committed
Exactly copy the sentence in the main section to the footnote referring it
1 parent dc6ad5e commit e73e4df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

preprocessed-site/posts/2019/hiw-ghc-future.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ map (length . _someFunc) [True, False, True]
5959

6060
といった具合にアンダースコアで始まる識別子`_someFunc`の型を`Bool -> [a0]`と推論した上で[^type-hole]実際にその型に該当する関数を当該のスコープにおいてアクセスできる関数の中から探して教えてくれるそれがValid Hole Fitsという機能です
6161

62-
[^type-hole]: 復習: この、「アンダースコアで始まる識別子`_someFunc`の型を`Bool -> [a0]`と推論した上でエラーメッセージにおいて`Found hole: _someFunc :: Bool -> [a0]`と教えてくれるのがType Holeという機能なのでした
62+
[^type-hole]: 復習: この、「アンダースコアで始まる識別子`_someFunc`の型を`Bool -> [a0]`と推論した上でエラーメッセージにおいて`Found hole: _someFunc :: Bool -> [a0]`と教えてくれるのがType Holeという機能なのでした
6363

6464
今回発表されたHoleFitPluginsという機能は名前のとおりこのValid Hole Fitsに対するプラグイン機構です
6565
Valid Hole Fitsが表示する型にマッチした関数を探す処理をHaskellのコードで書き換えられるようにしてくれます

0 commit comments

Comments
 (0)