問題タブ [default-implementation]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
28 問題
0
投票する
1
に答える
94
参照
haskell - Arrow ライブラリでの「first」の実装
first
ライブラリでの実装がわかりません。
first
で再帰的に定義されているようです***
-- いつ再帰が終了するかわかりません!?
と
first f
は(f *** id)
どれで(first f >>> arr swap >>> first id...)
、新しいものfirst
は別のものになる(*** id)
など...