diff --git a/.ionide/symbolCache.db b/.ionide/symbolCache.db index 7b58a27..333c494 100644 Binary files a/.ionide/symbolCache.db and b/.ionide/symbolCache.db differ diff --git a/Basic-practice-of-FSharp/Basic-practice-of-FSharp.fsproj b/Basic-practice-of-FSharp/Basic-practice-of-FSharp.fsproj index 042c931..92d7716 100644 --- a/Basic-practice-of-FSharp/Basic-practice-of-FSharp.fsproj +++ b/Basic-practice-of-FSharp/Basic-practice-of-FSharp.fsproj @@ -10,6 +10,9 @@ + + + diff --git a/Basic-practice-of-FSharp/DecisionLogic.fs b/Basic-practice-of-FSharp/DecisionLogic.fs new file mode 100644 index 0000000..168c774 --- /dev/null +++ b/Basic-practice-of-FSharp/DecisionLogic.fs @@ -0,0 +1,51 @@ +module DecisionLogic + +// 决策逻辑 +// 指值在计算过程中的逻辑判断 +// 即:如果值满足了某个条件怎么做,没有满足又该怎么做 +// 在F#中我们使用if cond then true-value else false-value来描述这种计算状态 + +// 我们先构建一个值 +let a = 10 + +if a < 5 then + printfn "a小于5" +else + printfn "a不小于5" +// 上面的代码描述的是这样一种情形 +// 假设这个名叫a的值小于5的话,则输出一句话"a小于5" +// 反之输出"a不小于5" +// 这是非常简单的逻辑表述 + +// 当然,这种逻辑与逻辑之间是可以嵌套描述的 +// 嵌套的层数取决与业务逻辑的深度 +if a > 3 then + if a > 5 then + printfn "a大于5" + else + printfn "a大于3并且小于5" +else + printfn "a并不大于3" + +// 我们也可以连续判断 +if a < 3 then // 当a小于3时 + printfn "a小于3" +else if a < 5 then // 除此之外,a又小于5时 + printfn "a小于3" +else if a < 7 then // 除此之外,a又小于7时 + printfn "a小于7" +else // 上述都不满足 + printfn "a大于7" + +// 对于else if,我们也可以使用缩写elif,这两种写法是等价的,仅仅是表述上少些一些 +if a < 3 then + printfn "a小于3" +elif a < 5 then + printfn "a小于3" +elif a < 7 then + printfn "a小于7" +else + printfn "a大于7" + +// 请注意,if else应当是成对写的,你需要同时描述满足条件与不满足两种情况 +// 并且在F#中if else是一个表达式 \ No newline at end of file diff --git a/Basic-practice-of-FSharp/HigherOrderFunction.fs b/Basic-practice-of-FSharp/HigherOrderFunction.fs new file mode 100644 index 0000000..92c4502 --- /dev/null +++ b/Basic-practice-of-FSharp/HigherOrderFunction.fs @@ -0,0 +1,11 @@ +module HigherOrderFunction + +// 因为函数也是一个值,所以函数可以成为了一个函数的参数,也可以被函数返回 +// 满足了该条件的函数可称之为高阶函数 + +// 如下 +let apply func value = func value +// 请注意等号右侧的func value,这正是函数调用的表达式 +// 以此可推断func是一个函数 +// 所以函数apply接受一个函数(func)与一个常规值(value),将func作用在value上 +// 即apply为一个高阶函数 \ No newline at end of file diff --git a/Basic-practice-of-FSharp/LambdaFunction.fs b/Basic-practice-of-FSharp/LambdaFunction.fs new file mode 100644 index 0000000..998e4de --- /dev/null +++ b/Basic-practice-of-FSharp/LambdaFunction.fs @@ -0,0 +1,17 @@ +module LambdaFunction + +// 我们可以直接通过let func-name ..params = func-body创建有具体名字的函数 +// 同样,我们也允许创建不存在名字的函数,一般称之为lambda表达式 +// 使用fun关键字构建fun ..params -> result +// -> 符号表示映射,将自变量映射为因变量(将参数映射为结果) +// 如下 +(fun a -> a + 1) 1 +// 直接调用lambda下 +// 我们用小括号包裹表示该lambda作为一个整体使用 +// 后面的1为函数的实际参数 + +// 当然,函数也是一个值,与其他值并没有什么不同,所以也可以将lambda表达式绑定到名上 +let add_one_of_lambda = fun a -> a + 1 + +// 多参数 +let add_of_lambda = fun a b -> a + b \ No newline at end of file diff --git a/Basic-practice-of-FSharp/LetBinding.fs b/Basic-practice-of-FSharp/LetBinding.fs index 4d9f495..b0df1c1 100644 --- a/Basic-practice-of-FSharp/LetBinding.fs +++ b/Basic-practice-of-FSharp/LetBinding.fs @@ -12,7 +12,9 @@ printfn "%d" a // a = 2 // 类型是对现实世界抽象化的表述,它表达了事物的边界 -// 对于F#来说,类型也是至关重要的 +// 不管你是使用静态类型语言抑或是动态类型语言,我们都需要有强烈的类型观念 +// 毕竟类型是对抽象世界的基本概括,具有丰富数据类型的F#将培养你对抽象世界的认识 +// 对于F#来说,类型是至关重要的,所有的值都存在类型 // 上面let a = 1并没有说明类型 // 但是我们的变量在构建的时候已经确定了类型 // 这里使用了类型推导技术,变量的类型由右侧的表达式决定 @@ -20,4 +22,10 @@ printfn "%d" a // 在F#中拥有一些基本类型 // 比如1默认是int类型, 1.0默认是float类型,'a'默认是char类型,"abc"是string类型 // 下面的b将会被编译器推导为float类型 -let b = 3.1415926 \ No newline at end of file +let b = 3.1415926 + +// c为char类型 +let c = 'a' + +// s为string类型 +let s = "abc" \ No newline at end of file diff --git a/Basic-practice-of-FSharp/RecurseFunction.fs b/Basic-practice-of-FSharp/RecurseFunction.fs new file mode 100644 index 0000000..e026452 --- /dev/null +++ b/Basic-practice-of-FSharp/RecurseFunction.fs @@ -0,0 +1,9 @@ +module RecurseFunction + +// 所谓递,描述的是向下一层一层的状态,即重复的计算状态 +// 而归,说的是进行归纳 +// 所以递归则是将重复的计算进行归纳 + +// 在F#中,声明一个递归函数与常规函数有些许不同,我们需要使用rec关键字进行描述 +// 如下 +let rec fact n = if n = 0 then 1 else n * fact n - 1 \ No newline at end of file diff --git a/Basic-practice-of-FSharp/SimpleFunction.fs b/Basic-practice-of-FSharp/SimpleFunction.fs index 239aa63..8729702 100644 --- a/Basic-practice-of-FSharp/SimpleFunction.fs +++ b/Basic-practice-of-FSharp/SimpleFunction.fs @@ -17,5 +17,6 @@ printfn "%d" (add_one a) // 该函数将输出2(即a + 1) // 我们也可以实现多个参数的函数 +// 对于参数的分隔,我们使用空格就好了 let add a b = a + b let mul a b = a * b \ No newline at end of file diff --git a/Basic-practice-of-FSharp/bin/Debug/net6.0/Basic-practice-of-FSharp b/Basic-practice-of-FSharp/bin/Debug/net6.0/Basic-practice-of-FSharp new file mode 100755 index 0000000..6fc5f7d Binary files /dev/null and b/Basic-practice-of-FSharp/bin/Debug/net6.0/Basic-practice-of-FSharp differ diff --git a/Basic-practice-of-FSharp/bin/Debug/net6.0/Basic-practice-of-FSharp.deps.json b/Basic-practice-of-FSharp/bin/Debug/net6.0/Basic-practice-of-FSharp.deps.json new file mode 100644 index 0000000..9d4dbe7 --- /dev/null +++ b/Basic-practice-of-FSharp/bin/Debug/net6.0/Basic-practice-of-FSharp.deps.json @@ -0,0 +1,82 @@ +{ + "runtimeTarget": { + "name": ".NETCoreApp,Version=v6.0", + "signature": "" + }, + "compilationOptions": {}, + "targets": { + ".NETCoreApp,Version=v6.0": { + "Basic-practice-of-FSharp/1.0.0": { + "dependencies": { + "FSharp.Core": "6.0.2" + }, + "runtime": { + "Basic-practice-of-FSharp.dll": {} + } + }, + "FSharp.Core/6.0.2": { + "runtime": { + "lib/netstandard2.1/FSharp.Core.dll": { + "assemblyVersion": "6.0.0.0", + "fileVersion": "6.0.221.63103" + } + }, + "resources": { + "lib/netstandard2.1/cs/FSharp.Core.resources.dll": { + "locale": "cs" + }, + "lib/netstandard2.1/de/FSharp.Core.resources.dll": { + "locale": "de" + }, + "lib/netstandard2.1/es/FSharp.Core.resources.dll": { + "locale": "es" + }, + "lib/netstandard2.1/fr/FSharp.Core.resources.dll": { + "locale": "fr" + }, + "lib/netstandard2.1/it/FSharp.Core.resources.dll": { + "locale": "it" + }, + "lib/netstandard2.1/ja/FSharp.Core.resources.dll": { + "locale": "ja" + }, + "lib/netstandard2.1/ko/FSharp.Core.resources.dll": { + "locale": "ko" + }, + "lib/netstandard2.1/pl/FSharp.Core.resources.dll": { + "locale": "pl" + }, + "lib/netstandard2.1/pt-BR/FSharp.Core.resources.dll": { + "locale": "pt-BR" + }, + "lib/netstandard2.1/ru/FSharp.Core.resources.dll": { + "locale": "ru" + }, + "lib/netstandard2.1/tr/FSharp.Core.resources.dll": { + "locale": "tr" + }, + "lib/netstandard2.1/zh-Hans/FSharp.Core.resources.dll": { + "locale": "zh-Hans" + }, + "lib/netstandard2.1/zh-Hant/FSharp.Core.resources.dll": { + "locale": "zh-Hant" + } + } + } + } + }, + "libraries": { + "Basic-practice-of-FSharp/1.0.0": { + "type": "project", + "serviceable": false, + "sha512": "" + }, + "FSharp.Core/6.0.2": { + "type": "package", + "serviceable": true, + "sha512": "sha512-8GZqv6buY71KQlWT+cl2eMi+aNX9xQ61RgI3Pzv9zPxPOX6tWCLRrBj0MYQ3h871r2RhiHUl7f0AXUD/POr8eA==", + "path": "fsharp.core/6.0.2", + "hashPath": "fsharp.core.6.0.2.nupkg.sha512" + } + } +} \ No newline at end of file diff --git a/Basic-practice-of-FSharp/bin/Debug/net6.0/Basic-practice-of-FSharp.dll b/Basic-practice-of-FSharp/bin/Debug/net6.0/Basic-practice-of-FSharp.dll new file mode 100644 index 0000000..e02775c Binary files /dev/null and b/Basic-practice-of-FSharp/bin/Debug/net6.0/Basic-practice-of-FSharp.dll differ diff --git a/Basic-practice-of-FSharp/bin/Debug/net6.0/Basic-practice-of-FSharp.pdb b/Basic-practice-of-FSharp/bin/Debug/net6.0/Basic-practice-of-FSharp.pdb new file mode 100644 index 0000000..d52592f Binary files /dev/null and b/Basic-practice-of-FSharp/bin/Debug/net6.0/Basic-practice-of-FSharp.pdb differ diff --git a/Basic-practice-of-FSharp/bin/Debug/net6.0/Basic-practice-of-FSharp.runtimeconfig.json b/Basic-practice-of-FSharp/bin/Debug/net6.0/Basic-practice-of-FSharp.runtimeconfig.json new file mode 100644 index 0000000..4986d16 --- /dev/null +++ b/Basic-practice-of-FSharp/bin/Debug/net6.0/Basic-practice-of-FSharp.runtimeconfig.json @@ -0,0 +1,9 @@ +{ + "runtimeOptions": { + "tfm": "net6.0", + "framework": { + "name": "Microsoft.NETCore.App", + "version": "6.0.0" + } + } +} \ No newline at end of file diff --git a/Basic-practice-of-FSharp/bin/Debug/net6.0/FSharp.Core.dll b/Basic-practice-of-FSharp/bin/Debug/net6.0/FSharp.Core.dll new file mode 100755 index 0000000..9bed248 Binary files /dev/null and b/Basic-practice-of-FSharp/bin/Debug/net6.0/FSharp.Core.dll differ diff --git a/Basic-practice-of-FSharp/bin/Debug/net6.0/cs/FSharp.Core.resources.dll b/Basic-practice-of-FSharp/bin/Debug/net6.0/cs/FSharp.Core.resources.dll new file mode 100755 index 0000000..2bc2692 Binary files /dev/null and b/Basic-practice-of-FSharp/bin/Debug/net6.0/cs/FSharp.Core.resources.dll differ diff --git a/Basic-practice-of-FSharp/bin/Debug/net6.0/de/FSharp.Core.resources.dll b/Basic-practice-of-FSharp/bin/Debug/net6.0/de/FSharp.Core.resources.dll new file mode 100755 index 0000000..855749e Binary files /dev/null and b/Basic-practice-of-FSharp/bin/Debug/net6.0/de/FSharp.Core.resources.dll differ diff --git a/Basic-practice-of-FSharp/bin/Debug/net6.0/es/FSharp.Core.resources.dll b/Basic-practice-of-FSharp/bin/Debug/net6.0/es/FSharp.Core.resources.dll new file mode 100755 index 0000000..8feac75 Binary files /dev/null and b/Basic-practice-of-FSharp/bin/Debug/net6.0/es/FSharp.Core.resources.dll differ diff --git a/Basic-practice-of-FSharp/bin/Debug/net6.0/fr/FSharp.Core.resources.dll b/Basic-practice-of-FSharp/bin/Debug/net6.0/fr/FSharp.Core.resources.dll new file mode 100755 index 0000000..91ee6dc Binary files /dev/null and b/Basic-practice-of-FSharp/bin/Debug/net6.0/fr/FSharp.Core.resources.dll differ diff --git a/Basic-practice-of-FSharp/bin/Debug/net6.0/it/FSharp.Core.resources.dll b/Basic-practice-of-FSharp/bin/Debug/net6.0/it/FSharp.Core.resources.dll new file mode 100755 index 0000000..0ea6863 Binary files /dev/null and b/Basic-practice-of-FSharp/bin/Debug/net6.0/it/FSharp.Core.resources.dll differ diff --git a/Basic-practice-of-FSharp/bin/Debug/net6.0/ja/FSharp.Core.resources.dll b/Basic-practice-of-FSharp/bin/Debug/net6.0/ja/FSharp.Core.resources.dll new file mode 100755 index 0000000..76ffdf0 Binary files /dev/null and b/Basic-practice-of-FSharp/bin/Debug/net6.0/ja/FSharp.Core.resources.dll differ diff --git a/Basic-practice-of-FSharp/bin/Debug/net6.0/ko/FSharp.Core.resources.dll b/Basic-practice-of-FSharp/bin/Debug/net6.0/ko/FSharp.Core.resources.dll new file mode 100755 index 0000000..91549d7 Binary files /dev/null and b/Basic-practice-of-FSharp/bin/Debug/net6.0/ko/FSharp.Core.resources.dll differ diff --git a/Basic-practice-of-FSharp/bin/Debug/net6.0/pl/FSharp.Core.resources.dll b/Basic-practice-of-FSharp/bin/Debug/net6.0/pl/FSharp.Core.resources.dll new file mode 100755 index 0000000..5b45426 Binary files /dev/null and b/Basic-practice-of-FSharp/bin/Debug/net6.0/pl/FSharp.Core.resources.dll differ diff --git a/Basic-practice-of-FSharp/bin/Debug/net6.0/pt-BR/FSharp.Core.resources.dll b/Basic-practice-of-FSharp/bin/Debug/net6.0/pt-BR/FSharp.Core.resources.dll new file mode 100755 index 0000000..74318a6 Binary files /dev/null and b/Basic-practice-of-FSharp/bin/Debug/net6.0/pt-BR/FSharp.Core.resources.dll differ diff --git a/Basic-practice-of-FSharp/bin/Debug/net6.0/ru/FSharp.Core.resources.dll b/Basic-practice-of-FSharp/bin/Debug/net6.0/ru/FSharp.Core.resources.dll new file mode 100755 index 0000000..9fc4470 Binary files /dev/null and b/Basic-practice-of-FSharp/bin/Debug/net6.0/ru/FSharp.Core.resources.dll differ diff --git a/Basic-practice-of-FSharp/bin/Debug/net6.0/tr/FSharp.Core.resources.dll b/Basic-practice-of-FSharp/bin/Debug/net6.0/tr/FSharp.Core.resources.dll new file mode 100755 index 0000000..323d55d Binary files /dev/null and b/Basic-practice-of-FSharp/bin/Debug/net6.0/tr/FSharp.Core.resources.dll differ diff --git a/Basic-practice-of-FSharp/bin/Debug/net6.0/zh-Hans/FSharp.Core.resources.dll b/Basic-practice-of-FSharp/bin/Debug/net6.0/zh-Hans/FSharp.Core.resources.dll new file mode 100755 index 0000000..12ff595 Binary files /dev/null and b/Basic-practice-of-FSharp/bin/Debug/net6.0/zh-Hans/FSharp.Core.resources.dll differ diff --git a/Basic-practice-of-FSharp/bin/Debug/net6.0/zh-Hant/FSharp.Core.resources.dll b/Basic-practice-of-FSharp/bin/Debug/net6.0/zh-Hant/FSharp.Core.resources.dll new file mode 100755 index 0000000..88272e3 Binary files /dev/null and b/Basic-practice-of-FSharp/bin/Debug/net6.0/zh-Hant/FSharp.Core.resources.dll differ diff --git a/Basic-practice-of-FSharp/obj/Basic-practice-of-FSharp.fsproj.nuget.dgspec.json b/Basic-practice-of-FSharp/obj/Basic-practice-of-FSharp.fsproj.nuget.dgspec.json new file mode 100644 index 0000000..1b621a9 --- /dev/null +++ b/Basic-practice-of-FSharp/obj/Basic-practice-of-FSharp.fsproj.nuget.dgspec.json @@ -0,0 +1,63 @@ +{ + "format": 1, + "restore": { + "/home/sanchime/桌面/Program/F#/Basic-practice-of-FSharp/Basic-practice-of-FSharp/Basic-practice-of-FSharp.fsproj": {} + }, + "projects": { + "/home/sanchime/桌面/Program/F#/Basic-practice-of-FSharp/Basic-practice-of-FSharp/Basic-practice-of-FSharp.fsproj": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "/home/sanchime/桌面/Program/F#/Basic-practice-of-FSharp/Basic-practice-of-FSharp/Basic-practice-of-FSharp.fsproj", + "projectName": "Basic-practice-of-FSharp", + "projectPath": "/home/sanchime/桌面/Program/F#/Basic-practice-of-FSharp/Basic-practice-of-FSharp/Basic-practice-of-FSharp.fsproj", + "packagesPath": "/home/sanchime/.nuget/packages/", + "outputPath": "/home/sanchime/桌面/Program/F#/Basic-practice-of-FSharp/Basic-practice-of-FSharp/obj/", + "projectStyle": "PackageReference", + "configFilePaths": [ + "/home/sanchime/.nuget/NuGet/NuGet.Config" + ], + "originalTargetFrameworks": [ + "net6.0" + ], + "sources": { + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "net6.0": { + "targetAlias": "net6.0", + "projectReferences": {} + } + } + }, + "frameworks": { + "net6.0": { + "targetAlias": "net6.0", + "dependencies": { + "FSharp.Core": { + "include": "Runtime, Compile, Build, Native, Analyzers, BuildTransitive", + "target": "Package", + "version": "[6.0.2, )", + "generatePathProperty": true + } + }, + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "/usr/share/dotnet/sdk/6.0.200/RuntimeIdentifierGraph.json" + } + } + } + } +} \ No newline at end of file diff --git a/Basic-practice-of-FSharp/obj/Basic-practice-of-FSharp.fsproj.nuget.g.props b/Basic-practice-of-FSharp/obj/Basic-practice-of-FSharp.fsproj.nuget.g.props new file mode 100644 index 0000000..cfc8bc6 --- /dev/null +++ b/Basic-practice-of-FSharp/obj/Basic-practice-of-FSharp.fsproj.nuget.g.props @@ -0,0 +1,18 @@ + + + + True + NuGet + $(MSBuildThisFileDirectory)project.assets.json + /home/sanchime/.nuget/packages/ + /home/sanchime/.nuget/packages/ + PackageReference + 6.1.0 + + + + + + /home/sanchime/.nuget/packages/fsharp.core/6.0.2 + + \ No newline at end of file diff --git a/Basic-practice-of-FSharp/obj/Basic-practice-of-FSharp.fsproj.nuget.g.targets b/Basic-practice-of-FSharp/obj/Basic-practice-of-FSharp.fsproj.nuget.g.targets new file mode 100644 index 0000000..3dc06ef --- /dev/null +++ b/Basic-practice-of-FSharp/obj/Basic-practice-of-FSharp.fsproj.nuget.g.targets @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/Basic-practice-of-FSharp/obj/Debug/net6.0/.NETCoreApp,Version=v6.0.AssemblyAttributes.fs b/Basic-practice-of-FSharp/obj/Debug/net6.0/.NETCoreApp,Version=v6.0.AssemblyAttributes.fs new file mode 100644 index 0000000..57a6239 --- /dev/null +++ b/Basic-practice-of-FSharp/obj/Debug/net6.0/.NETCoreApp,Version=v6.0.AssemblyAttributes.fs @@ -0,0 +1,3 @@ +namespace Microsoft.BuildSettings + [] + do () diff --git a/Basic-practice-of-FSharp/obj/Debug/net6.0/Basic-practice-of-FSharp.AssemblyInfo.fs b/Basic-practice-of-FSharp/obj/Debug/net6.0/Basic-practice-of-FSharp.AssemblyInfo.fs new file mode 100644 index 0000000..744f39b --- /dev/null +++ b/Basic-practice-of-FSharp/obj/Debug/net6.0/Basic-practice-of-FSharp.AssemblyInfo.fs @@ -0,0 +1,17 @@ +// +// Generated by the FSharp WriteCodeFragment class. +// +namespace FSharp + +open System +open System.Reflection + + +[] +[] +[] +[] +[] +[] +[] +do() diff --git a/Basic-practice-of-FSharp/obj/Debug/net6.0/Basic-practice-of-FSharp.AssemblyInfoInputs.cache b/Basic-practice-of-FSharp/obj/Debug/net6.0/Basic-practice-of-FSharp.AssemblyInfoInputs.cache new file mode 100644 index 0000000..139b454 --- /dev/null +++ b/Basic-practice-of-FSharp/obj/Debug/net6.0/Basic-practice-of-FSharp.AssemblyInfoInputs.cache @@ -0,0 +1 @@ +6222a14c3308d0fc0d25ec1d195e485c25706689 diff --git a/Basic-practice-of-FSharp/obj/Debug/net6.0/Basic-practice-of-FSharp.assets.cache b/Basic-practice-of-FSharp/obj/Debug/net6.0/Basic-practice-of-FSharp.assets.cache new file mode 100644 index 0000000..52ae28d Binary files /dev/null and b/Basic-practice-of-FSharp/obj/Debug/net6.0/Basic-practice-of-FSharp.assets.cache differ diff --git a/Basic-practice-of-FSharp/obj/Debug/net6.0/Basic-practice-of-FSharp.dll b/Basic-practice-of-FSharp/obj/Debug/net6.0/Basic-practice-of-FSharp.dll new file mode 100644 index 0000000..e02775c Binary files /dev/null and b/Basic-practice-of-FSharp/obj/Debug/net6.0/Basic-practice-of-FSharp.dll differ diff --git a/Basic-practice-of-FSharp/obj/Debug/net6.0/Basic-practice-of-FSharp.fsproj.AssemblyReference.cache b/Basic-practice-of-FSharp/obj/Debug/net6.0/Basic-practice-of-FSharp.fsproj.AssemblyReference.cache new file mode 100644 index 0000000..61f3c63 Binary files /dev/null and b/Basic-practice-of-FSharp/obj/Debug/net6.0/Basic-practice-of-FSharp.fsproj.AssemblyReference.cache differ diff --git a/Basic-practice-of-FSharp/obj/Debug/net6.0/Basic-practice-of-FSharp.fsproj.CopyComplete b/Basic-practice-of-FSharp/obj/Debug/net6.0/Basic-practice-of-FSharp.fsproj.CopyComplete new file mode 100644 index 0000000..e69de29 diff --git a/Basic-practice-of-FSharp/obj/Debug/net6.0/Basic-practice-of-FSharp.fsproj.FileListAbsolute.txt b/Basic-practice-of-FSharp/obj/Debug/net6.0/Basic-practice-of-FSharp.fsproj.FileListAbsolute.txt new file mode 100644 index 0000000..cbdc4fa --- /dev/null +++ b/Basic-practice-of-FSharp/obj/Debug/net6.0/Basic-practice-of-FSharp.fsproj.FileListAbsolute.txt @@ -0,0 +1,26 @@ +/home/sanchime/桌面/Program/F#/Basic-practice-of-FSharp/Basic-practice-of-FSharp/obj/Debug/net6.0/Basic-practice-of-FSharp.AssemblyInfoInputs.cache +/home/sanchime/桌面/Program/F#/Basic-practice-of-FSharp/Basic-practice-of-FSharp/obj/Debug/net6.0/Basic-practice-of-FSharp.AssemblyInfo.fs +/home/sanchime/桌面/Program/F#/Basic-practice-of-FSharp/Basic-practice-of-FSharp/bin/Debug/net6.0/Basic-practice-of-FSharp +/home/sanchime/桌面/Program/F#/Basic-practice-of-FSharp/Basic-practice-of-FSharp/bin/Debug/net6.0/Basic-practice-of-FSharp.deps.json +/home/sanchime/桌面/Program/F#/Basic-practice-of-FSharp/Basic-practice-of-FSharp/bin/Debug/net6.0/Basic-practice-of-FSharp.runtimeconfig.json +/home/sanchime/桌面/Program/F#/Basic-practice-of-FSharp/Basic-practice-of-FSharp/bin/Debug/net6.0/Basic-practice-of-FSharp.dll +/home/sanchime/桌面/Program/F#/Basic-practice-of-FSharp/Basic-practice-of-FSharp/bin/Debug/net6.0/Basic-practice-of-FSharp.pdb +/home/sanchime/桌面/Program/F#/Basic-practice-of-FSharp/Basic-practice-of-FSharp/bin/Debug/net6.0/FSharp.Core.dll +/home/sanchime/桌面/Program/F#/Basic-practice-of-FSharp/Basic-practice-of-FSharp/bin/Debug/net6.0/cs/FSharp.Core.resources.dll +/home/sanchime/桌面/Program/F#/Basic-practice-of-FSharp/Basic-practice-of-FSharp/bin/Debug/net6.0/de/FSharp.Core.resources.dll +/home/sanchime/桌面/Program/F#/Basic-practice-of-FSharp/Basic-practice-of-FSharp/bin/Debug/net6.0/es/FSharp.Core.resources.dll +/home/sanchime/桌面/Program/F#/Basic-practice-of-FSharp/Basic-practice-of-FSharp/bin/Debug/net6.0/fr/FSharp.Core.resources.dll +/home/sanchime/桌面/Program/F#/Basic-practice-of-FSharp/Basic-practice-of-FSharp/bin/Debug/net6.0/it/FSharp.Core.resources.dll +/home/sanchime/桌面/Program/F#/Basic-practice-of-FSharp/Basic-practice-of-FSharp/bin/Debug/net6.0/ja/FSharp.Core.resources.dll +/home/sanchime/桌面/Program/F#/Basic-practice-of-FSharp/Basic-practice-of-FSharp/bin/Debug/net6.0/ko/FSharp.Core.resources.dll +/home/sanchime/桌面/Program/F#/Basic-practice-of-FSharp/Basic-practice-of-FSharp/bin/Debug/net6.0/pl/FSharp.Core.resources.dll +/home/sanchime/桌面/Program/F#/Basic-practice-of-FSharp/Basic-practice-of-FSharp/bin/Debug/net6.0/pt-BR/FSharp.Core.resources.dll +/home/sanchime/桌面/Program/F#/Basic-practice-of-FSharp/Basic-practice-of-FSharp/bin/Debug/net6.0/ru/FSharp.Core.resources.dll +/home/sanchime/桌面/Program/F#/Basic-practice-of-FSharp/Basic-practice-of-FSharp/bin/Debug/net6.0/tr/FSharp.Core.resources.dll +/home/sanchime/桌面/Program/F#/Basic-practice-of-FSharp/Basic-practice-of-FSharp/bin/Debug/net6.0/zh-Hans/FSharp.Core.resources.dll +/home/sanchime/桌面/Program/F#/Basic-practice-of-FSharp/Basic-practice-of-FSharp/bin/Debug/net6.0/zh-Hant/FSharp.Core.resources.dll +/home/sanchime/桌面/Program/F#/Basic-practice-of-FSharp/Basic-practice-of-FSharp/obj/Debug/net6.0/Basic-practice-of-FSharp.fsproj.AssemblyReference.cache +/home/sanchime/桌面/Program/F#/Basic-practice-of-FSharp/Basic-practice-of-FSharp/obj/Debug/net6.0/Basic-practice-of-FSharp.fsproj.CopyComplete +/home/sanchime/桌面/Program/F#/Basic-practice-of-FSharp/Basic-practice-of-FSharp/obj/Debug/net6.0/Basic-practice-of-FSharp.dll +/home/sanchime/桌面/Program/F#/Basic-practice-of-FSharp/Basic-practice-of-FSharp/obj/Debug/net6.0/Basic-practice-of-FSharp.pdb +/home/sanchime/桌面/Program/F#/Basic-practice-of-FSharp/Basic-practice-of-FSharp/obj/Debug/net6.0/Basic-practice-of-FSharp.genruntimeconfig.cache diff --git a/Basic-practice-of-FSharp/obj/Debug/net6.0/Basic-practice-of-FSharp.genruntimeconfig.cache b/Basic-practice-of-FSharp/obj/Debug/net6.0/Basic-practice-of-FSharp.genruntimeconfig.cache new file mode 100644 index 0000000..97dfb36 --- /dev/null +++ b/Basic-practice-of-FSharp/obj/Debug/net6.0/Basic-practice-of-FSharp.genruntimeconfig.cache @@ -0,0 +1 @@ +7cf80e63319ef6c9b32b4cc667a5dad8fccb8d4d diff --git a/Basic-practice-of-FSharp/obj/Debug/net6.0/Basic-practice-of-FSharp.pdb b/Basic-practice-of-FSharp/obj/Debug/net6.0/Basic-practice-of-FSharp.pdb new file mode 100644 index 0000000..d52592f Binary files /dev/null and b/Basic-practice-of-FSharp/obj/Debug/net6.0/Basic-practice-of-FSharp.pdb differ diff --git a/Basic-practice-of-FSharp/obj/Debug/net6.0/apphost b/Basic-practice-of-FSharp/obj/Debug/net6.0/apphost new file mode 100755 index 0000000..6fc5f7d Binary files /dev/null and b/Basic-practice-of-FSharp/obj/Debug/net6.0/apphost differ diff --git a/Basic-practice-of-FSharp/obj/fsac.cache b/Basic-practice-of-FSharp/obj/fsac.cache new file mode 100644 index 0000000..1777582 --- /dev/null +++ b/Basic-practice-of-FSharp/obj/fsac.cache @@ -0,0 +1,2 @@ +2022/2/17 下午1:24:46 +{} diff --git a/Basic-practice-of-FSharp/obj/project.assets.json b/Basic-practice-of-FSharp/obj/project.assets.json new file mode 100644 index 0000000..f62a5c0 --- /dev/null +++ b/Basic-practice-of-FSharp/obj/project.assets.json @@ -0,0 +1,173 @@ +{ + "version": 3, + "targets": { + "net6.0": { + "FSharp.Core/6.0.2": { + "type": "package", + "compile": { + "lib/netstandard2.1/FSharp.Core.dll": {} + }, + "runtime": { + "lib/netstandard2.1/FSharp.Core.dll": {} + }, + "resource": { + "lib/netstandard2.1/cs/FSharp.Core.resources.dll": { + "locale": "cs" + }, + "lib/netstandard2.1/de/FSharp.Core.resources.dll": { + "locale": "de" + }, + "lib/netstandard2.1/es/FSharp.Core.resources.dll": { + "locale": "es" + }, + "lib/netstandard2.1/fr/FSharp.Core.resources.dll": { + "locale": "fr" + }, + "lib/netstandard2.1/it/FSharp.Core.resources.dll": { + "locale": "it" + }, + "lib/netstandard2.1/ja/FSharp.Core.resources.dll": { + "locale": "ja" + }, + "lib/netstandard2.1/ko/FSharp.Core.resources.dll": { + "locale": "ko" + }, + "lib/netstandard2.1/pl/FSharp.Core.resources.dll": { + "locale": "pl" + }, + "lib/netstandard2.1/pt-BR/FSharp.Core.resources.dll": { + "locale": "pt-BR" + }, + "lib/netstandard2.1/ru/FSharp.Core.resources.dll": { + "locale": "ru" + }, + "lib/netstandard2.1/tr/FSharp.Core.resources.dll": { + "locale": "tr" + }, + "lib/netstandard2.1/zh-Hans/FSharp.Core.resources.dll": { + "locale": "zh-Hans" + }, + "lib/netstandard2.1/zh-Hant/FSharp.Core.resources.dll": { + "locale": "zh-Hant" + } + }, + "contentFiles": { + "contentFiles/any/any/_._": { + "buildAction": "None", + "codeLanguage": "any", + "copyToOutput": false + } + } + } + } + }, + "libraries": { + "FSharp.Core/6.0.2": { + "sha512": "8GZqv6buY71KQlWT+cl2eMi+aNX9xQ61RgI3Pzv9zPxPOX6tWCLRrBj0MYQ3h871r2RhiHUl7f0AXUD/POr8eA==", + "type": "package", + "path": "fsharp.core/6.0.2", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "contentFiles/any/netstandard2.0/FSharp.Core.xml", + "contentFiles/any/netstandard2.1/FSharp.Core.xml", + "fsharp.core.6.0.2.nupkg.sha512", + "fsharp.core.nuspec", + "lib/netstandard2.0/FSharp.Core.dll", + "lib/netstandard2.0/FSharp.Core.xml", + "lib/netstandard2.0/cs/FSharp.Core.resources.dll", + "lib/netstandard2.0/de/FSharp.Core.resources.dll", + "lib/netstandard2.0/es/FSharp.Core.resources.dll", + "lib/netstandard2.0/fr/FSharp.Core.resources.dll", + "lib/netstandard2.0/it/FSharp.Core.resources.dll", + "lib/netstandard2.0/ja/FSharp.Core.resources.dll", + "lib/netstandard2.0/ko/FSharp.Core.resources.dll", + "lib/netstandard2.0/pl/FSharp.Core.resources.dll", + "lib/netstandard2.0/pt-BR/FSharp.Core.resources.dll", + "lib/netstandard2.0/ru/FSharp.Core.resources.dll", + "lib/netstandard2.0/tr/FSharp.Core.resources.dll", + "lib/netstandard2.0/zh-Hans/FSharp.Core.resources.dll", + "lib/netstandard2.0/zh-Hant/FSharp.Core.resources.dll", + "lib/netstandard2.1/FSharp.Core.dll", + "lib/netstandard2.1/FSharp.Core.xml", + "lib/netstandard2.1/cs/FSharp.Core.resources.dll", + "lib/netstandard2.1/de/FSharp.Core.resources.dll", + "lib/netstandard2.1/es/FSharp.Core.resources.dll", + "lib/netstandard2.1/fr/FSharp.Core.resources.dll", + "lib/netstandard2.1/it/FSharp.Core.resources.dll", + "lib/netstandard2.1/ja/FSharp.Core.resources.dll", + "lib/netstandard2.1/ko/FSharp.Core.resources.dll", + "lib/netstandard2.1/pl/FSharp.Core.resources.dll", + "lib/netstandard2.1/pt-BR/FSharp.Core.resources.dll", + "lib/netstandard2.1/ru/FSharp.Core.resources.dll", + "lib/netstandard2.1/tr/FSharp.Core.resources.dll", + "lib/netstandard2.1/zh-Hans/FSharp.Core.resources.dll", + "lib/netstandard2.1/zh-Hant/FSharp.Core.resources.dll" + ] + } + }, + "projectFileDependencyGroups": { + "net6.0": [ + "FSharp.Core >= 6.0.2" + ] + }, + "packageFolders": { + "/home/sanchime/.nuget/packages/": {} + }, + "project": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "/home/sanchime/桌面/Program/F#/Basic-practice-of-FSharp/Basic-practice-of-FSharp/Basic-practice-of-FSharp.fsproj", + "projectName": "Basic-practice-of-FSharp", + "projectPath": "/home/sanchime/桌面/Program/F#/Basic-practice-of-FSharp/Basic-practice-of-FSharp/Basic-practice-of-FSharp.fsproj", + "packagesPath": "/home/sanchime/.nuget/packages/", + "outputPath": "/home/sanchime/桌面/Program/F#/Basic-practice-of-FSharp/Basic-practice-of-FSharp/obj/", + "projectStyle": "PackageReference", + "configFilePaths": [ + "/home/sanchime/.nuget/NuGet/NuGet.Config" + ], + "originalTargetFrameworks": [ + "net6.0" + ], + "sources": { + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "net6.0": { + "targetAlias": "net6.0", + "projectReferences": {} + } + } + }, + "frameworks": { + "net6.0": { + "targetAlias": "net6.0", + "dependencies": { + "FSharp.Core": { + "include": "Runtime, Compile, Build, Native, Analyzers, BuildTransitive", + "target": "Package", + "version": "[6.0.2, )", + "generatePathProperty": true + } + }, + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "/usr/share/dotnet/sdk/6.0.200/RuntimeIdentifierGraph.json" + } + } + } +} \ No newline at end of file diff --git a/Basic-practice-of-FSharp/obj/project.nuget.cache b/Basic-practice-of-FSharp/obj/project.nuget.cache new file mode 100644 index 0000000..c39c9fa --- /dev/null +++ b/Basic-practice-of-FSharp/obj/project.nuget.cache @@ -0,0 +1,10 @@ +{ + "version": 2, + "dgSpecHash": "enBw9e60UVV9HjunhsB38uIaAqw6HtAw1HRcAddWyNFL50iwPvp6sgmKQeAN2GyS98CMQ6JqymmCb8l5+j9Adw==", + "success": true, + "projectFilePath": "/home/sanchime/桌面/Program/F#/Basic-practice-of-FSharp/Basic-practice-of-FSharp/Basic-practice-of-FSharp.fsproj", + "expectedPackageFiles": [ + "/home/sanchime/.nuget/packages/fsharp.core/6.0.2/fsharp.core.6.0.2.nupkg.sha512" + ], + "logs": [] +} \ No newline at end of file