Tag: f# data

从C#调用Freebase Provider时,FSharp.Data’System.MissingMethodException’

嗨我在F#上有这段代码,如果我从F#Interactive Editor测试它,那么isPalindrome和Extract方法都能正常工作: namespace Portable3 open FSharp open FSharp.Data open Microsoft.FSharp.Linq open FSharp.Data.FreebaseOperators open MyTrip.Model.MyTrip open MyTrip.Model.FreeBase open System.Runtime open System.Linq module math = let isPalindrome (str : string) = let rec check(s : int, e : int) = if s = e then true elif str.[s] str.[e] then false else check(s + 1, e – […]