私は前の行(TMP)のリストを使用して、パスカルの三角形を生成しようとしているので、同様に、この場合には、リストと一致の大きさを評価したいよ:評価に合致しないのはなぜですか?
(* b is the index pos I'm generating at the moment *)
(* I need a function I can pass into another function, so the case must evaluate at runtime *)
fun b -> match b with
| 0 -> 1
| List.length tmp -> 1
| _ -> (* Ignore this part *)
をしない理由2行目の評価と一致?
どのように式をパターンに変換できますか? – Swift142