`some_function` 构造在 Elm 中意味着什么?
What does `some_function` construction mean in Elm?
我正在查看 elm-form
包文档并找到 here 这段代码:
field "myfield" (int `andThen` minInt 10)
这些引语是什么意思?这是应用函数的另一种方式吗?
这是一种将任何函数用作中缀的方法,如 3 + 5
。
但是:它已在 elm 0.18 中删除:migration notes.
我正在查看 elm-form
包文档并找到 here 这段代码:
field "myfield" (int `andThen` minInt 10)
这些引语是什么意思?这是应用函数的另一种方式吗?
这是一种将任何函数用作中缀的方法,如 3 + 5
。
但是:它已在 elm 0.18 中删除:migration notes.