的意思 !! F# (.fsx) 中的运算符

Meaning of !! operator in F# (.fsx)

我正在查看通过 FsLab 模板自动生成的 FAKE 构建脚本。在 "let" 绑定中的一个字符串前面,!!使用运算符。的意思是什么!!运算符?

查看 Microsoft Docs F# Symbols and Operator Reference,!!运算符未列出。

这是有问题的代码,!!运算符在倒数第三行:

#r "./packages/build/FAKE/tools/FakeLib.dll"

open Fake
open System

let buildDir  = "./build/"
let appReferences = !! "/**/*.fsproj"
let dotnetcliVersion = "2.0.2"
let mutable dotnetExePath = "dotnet"

再往下,appReferences标识符的使用如下:

Target "Restore" (fun _ ->
    appReferences
    |> Seq.iter (fun p ->
        let dir = System.IO.Path.GetDirectoryName p
        runDotnet dir "restore"
    )
)

它采用文件模式和 returns 匹配该模式的文件集合。