list の各要素にatEach f xs
デフォルト関数を適用する高次の関数を記述します。f
xs
atEach succ [1 to 5] = [2,3,4,5,6]
atEach length ["Haskell", "go", "forward"] = [7,5,8]
list の各要素にatEach f xs
デフォルト関数を適用する高次の関数を記述します。f
xs
atEach succ [1 to 5] = [2,3,4,5,6]
atEach length ["Haskell", "go", "forward"] = [7,5,8]