我已经创建了一个助手函数,用于从我的Giraffe项目返回Thoth.Json样式的JSON,该函数接受Result<'a,'b>并返回json。然而,Thoth.Json并不喜欢它: Cannot generate auto encoder for Microsoft.FSharp.Core.Unit.
我正在尝试使用Fable完成POST请求,遵循本教程:error FSHARP: The value or constructor 'toJson' is not defined. Maybe you want one of the following: @ ./UI/UI.fsproj 1:0-24 1:0-24let submitForm = let p
我正在使用jquery $.get读取文本文件。我有下面的代码。console.log("before the get"); console.log("in the get");console.log(data);console.log("after the get");before the get</