Home
9 comments
GiorgioGalmost 8 years ago
I'll take MS's commitment to F# seriously when they stop treating it like a 2nd class citizen. .NET Core 1.0 has been out for over a year, .NET Core 2.0 is in preview and there is ZERO support for F# with .NET Core in Visual Studio 2017. Yes you can use VSCode, but VSCode is no Visual Studio - it's a text editor on steroids, not a proper IDE that most C# developers have come to expect.
评论 #14875870 未加载
评论 #14879594 未加载
评论 #14882590 未加载
评论 #14876174 未加载
nlawalkeralmost 8 years ago
Can anyone suggest any F# tutorials in the style of Michael Hartl's Rails Tutorial?<p>F# suffers from an overabundance of "getting started" tutorials that focus only on the language and syntax. I get that F# is likely to be a lot of peoples' first introduction to a functional language, so that makes sense, but this one doesn't even tell you how to run the code it's showing you.<p>The hardest part about learning any new language isn't learning the syntax or core concepts, it's understanding the mechanics of actually getting things done - grokking the developer workflow, getting comfortable in an editing environment, building and deploying, troubleshooting and debugging, writing idiomatic code, learning about common libraries and tools, etc.
评论 #14876130 未加载
hdhzyalmost 8 years ago
Are there any simple projects like HTTP server in F# for CoreCLR somewhere? With a Dockerfile if possible. Last time I tried to build something like that for PoC the amount of struggles I had with various versions of CoreCLR was overwhelming.
评论 #14876324 未加载
评论 #14875632 未加载
NicoJuicyalmost 8 years ago
If you want to try out f#, don't forget to try it with <a href="http://fsharp.github.io/FSharp.Data/" rel="nofollow">http://fsharp.github.io/FSharp.Data/</a><p>It's pretty awesome
stinosalmost 8 years ago
Ask HN: I've toyed around with F# and I kinda like it but I've never dug deep enough into it to answer the question: can I use this for 'real life' code as part of an existing C# desktop application for instance, e.g. build some F# into an assembly which is callable from C#? Without tons of hassle? What are good samples of real life application code in F#?
评论 #14875516 未加载
评论 #14875587 未加载
评论 #14876371 未加载
评论 #14875582 未加载
评论 #14876479 未加载
评论 #14875910 未加载
评论 #14875645 未加载
评论 #14876185 未加载
debaclealmost 8 years ago
I need to know <i>why</i> to use F#, not how. C# is a business programming language. F# doesn't appear to be obviously useful in that regard.
评论 #14877338 未加载
评论 #14876329 未加载
评论 #14876686 未加载
oxryly1almost 8 years ago
Asynchronous programming with F# is pretty cool. It has layered powerful syntax and language constructs on top of .NET's threads and tasks, AND it gives you convenient access to the same async API that you use in C#.
评论 #14882645 未加载
评论 #14875623 未加载
marvel_boyalmost 8 years ago
Newbie here. Somebody can point to useful other resources for F#?
评论 #14875340 未加载
评论 #14876020 未加载
评论 #14875338 未加载
评论 #14875594 未加载
评论 #14875436 未加载
nullspacealmost 8 years ago
<p><pre><code> // Flip the BST using pattern matching!
let rec flip bst =
match bst with
| Empty -> bst
| Node(item, left, right) -> Node(item, flip right, flip left)
</code></pre>
Without type annotations, how can it tell the flip takes an instance of BST as the parameter?
评论 #14876095 未加载