增加内容
This commit is contained in:
parent
40e4d8b1f2
commit
4e9b24a0f1
Binary file not shown.
|
@ -10,6 +10,9 @@
|
|||
<Compile Include="HelloWorld.fs" />
|
||||
<Compile Include="LetBinding.fs" />
|
||||
<Compile Include="SimpleFunction.fs" />
|
||||
<Compile Include="LambdaFunction.fs" />
|
||||
<Compile Include="HigherOrderFunction.fs" />
|
||||
<Compile Include="RecurseFunction.fs" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
|
|
@ -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是一个表达式
|
|
@ -0,0 +1,11 @@
|
|||
module HigherOrderFunction
|
||||
|
||||
// 因为函数也是一个值,所以函数可以成为了一个函数的参数,也可以被函数返回
|
||||
// 满足了该条件的函数可称之为高阶函数
|
||||
|
||||
// 如下
|
||||
let apply func value = func value
|
||||
// 请注意等号右侧的func value,这正是函数调用的表达式
|
||||
// 以此可推断func是一个函数
|
||||
// 所以函数apply接受一个函数(func)与一个常规值(value),将func作用在value上
|
||||
// 即apply为一个高阶函数
|
|
@ -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
|
|
@ -12,7 +12,9 @@ printfn "%d" a
|
|||
// a = 2
|
||||
|
||||
// 类型是对现实世界抽象化的表述,它表达了事物的边界
|
||||
// 对于F#来说,类型也是至关重要的
|
||||
// 不管你是使用静态类型语言抑或是动态类型语言,我们都需要有强烈的类型观念
|
||||
// 毕竟类型是对抽象世界的基本概括,具有丰富数据类型的F#将培养你对抽象世界的认识
|
||||
// 对于F#来说,类型是至关重要的,所有的值都存在类型
|
||||
// 上面let a = 1并没有说明类型
|
||||
// 但是我们的变量在构建的时候已经确定了类型
|
||||
// 这里使用了类型推导技术,变量的类型由右侧的表达式决定
|
||||
|
@ -21,3 +23,9 @@ printfn "%d" a
|
|||
// 比如1默认是int类型, 1.0默认是float类型,'a'默认是char类型,"abc"是string类型
|
||||
// 下面的b将会被编译器推导为float类型
|
||||
let b = 3.1415926
|
||||
|
||||
// c为char类型
|
||||
let c = 'a'
|
||||
|
||||
// s为string类型
|
||||
let s = "abc"
|
|
@ -0,0 +1,9 @@
|
|||
module RecurseFunction
|
||||
|
||||
// 所谓递,描述的是向下一层一层的状态,即重复的计算状态
|
||||
// 而归,说的是进行归纳
|
||||
// 所以递归则是将重复的计算进行归纳
|
||||
|
||||
// 在F#中,声明一个递归函数与常规函数有些许不同,我们需要使用rec关键字进行描述
|
||||
// 如下
|
||||
let rec fact n = if n = 0 then 1 else n * fact n - 1
|
|
@ -17,5 +17,6 @@ printfn "%d" (add_one a)
|
|||
// 该函数将输出2(即a + 1)
|
||||
|
||||
// 我们也可以实现多个参数的函数
|
||||
// 对于参数的分隔,我们使用空格就好了
|
||||
let add a b = a + b
|
||||
let mul a b = a * b
|
Binary file not shown.
|
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"runtimeOptions": {
|
||||
"tfm": "net6.0",
|
||||
"framework": {
|
||||
"name": "Microsoft.NETCore.App",
|
||||
"version": "6.0.0"
|
||||
}
|
||||
}
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,18 @@
|
|||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
|
||||
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
|
||||
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
|
||||
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">/home/sanchime/.nuget/packages/</NuGetPackageRoot>
|
||||
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">/home/sanchime/.nuget/packages/</NuGetPackageFolders>
|
||||
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
|
||||
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.1.0</NuGetToolVersion>
|
||||
</PropertyGroup>
|
||||
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<SourceRoot Include="/home/sanchime/.nuget/packages/" />
|
||||
</ItemGroup>
|
||||
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<PkgFSharp_Core Condition=" '$(PkgFSharp_Core)' == '' ">/home/sanchime/.nuget/packages/fsharp.core/6.0.2</PkgFSharp_Core>
|
||||
</PropertyGroup>
|
||||
</Project>
|
|
@ -0,0 +1,2 @@
|
|||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" />
|
|
@ -0,0 +1,3 @@
|
|||
namespace Microsoft.BuildSettings
|
||||
[<System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v6.0", FrameworkDisplayName="")>]
|
||||
do ()
|
|
@ -0,0 +1,17 @@
|
|||
// <auto-generated>
|
||||
// Generated by the FSharp WriteCodeFragment class.
|
||||
// </auto-generated>
|
||||
namespace FSharp
|
||||
|
||||
open System
|
||||
open System.Reflection
|
||||
|
||||
|
||||
[<assembly: System.Reflection.AssemblyCompanyAttribute("Basic-practice-of-FSharp")>]
|
||||
[<assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")>]
|
||||
[<assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")>]
|
||||
[<assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")>]
|
||||
[<assembly: System.Reflection.AssemblyProductAttribute("Basic-practice-of-FSharp")>]
|
||||
[<assembly: System.Reflection.AssemblyTitleAttribute("Basic-practice-of-FSharp")>]
|
||||
[<assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")>]
|
||||
do()
|
|
@ -0,0 +1 @@
|
|||
6222a14c3308d0fc0d25ec1d195e485c25706689
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -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
|
|
@ -0,0 +1 @@
|
|||
7cf80e63319ef6c9b32b4cc667a5dad8fccb8d4d
|
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,2 @@
|
|||
2022/2/17 下午1:24:46
|
||||
{}
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -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": []
|
||||
}
|
Loading…
Reference in New Issue