Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
enricosada
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
enricosada
5y ago
See https://dotnet.microsoft.com/download Download the Sdk, who bundle both the runtime and the C#/F# compilers (everything you need to build a program) and the `dotnet fsi` REPL All of that is open source, developed i
2.
▲
by
enricosada
5y ago
C# switch are just syntactic sugar. nice for sure. But if you compare F# with C#, is not just LINQ .Select vs List.map And i am not speaking about function, who is just a part of why i like F#, not the best one Is the different defaults who
3.
▲
by
enricosada
5y ago
As a note, the codebase is also huge because contains lot of code: - FSharp.Core library, who contains most of the types and functions you want to use - the fsc F# compiler - the FSharp.Compiler.Service, who is the compiler as a library use
4.
▲
by
enricosada
5y ago
For me is that pratically every time, if compile, it works. It's really easy to express a domain (with discriminated union and type) and the defaults (immutability, option, removal of boilerplate, high order function to manipulate data
5.
▲
by
enricosada
7y ago
Appveyor also support stop and RDP in the windows build agents for 60 minutes each build. really nice for diagnose the issues
6.
▲
by
enricosada
7y ago
The F# repl (FSI as fsharp interactive) works in .net core 3.0 preview already, you can do `dotnet fsi` to run it Type providers works in general, but depends if the type provider library was updated to use latest type provider sdk. Also ge
7.
▲
by
enricosada
8y ago
For F#, you can also use F# to transpile f# to clean javascript (will use standard babel and has an awesome interop story with existing npm packages or js libraries), and use electron api as is https://github.com/fable-compi
8.
▲
by
enricosada
8y ago
An example of Core Erlang usage: - fez ( https://github.com/kjnilsson/fez ) is an F# to Erlang compiler (compiling to Core Erlang) A good intro with some word about core erlang too https://skillsmatter.com&#
9.
▲
by
enricosada
8y ago
Depends for what you need GUI. You need it for complex LOB app? So no, editor will be good. Personally, i write c# and xaml, and i dont use the editor (vs or blend), but i edit directly the xaml. About f# and gui, depends on use case. For e
10.
▲
by
enricosada
8y ago
About GUI on .NET Framework: - Windows form works but not perfect. The editor works if you install the template for it, but not the auto generation of code, like double click on button -> handler generated. You write code programmaticall
11.
▲
by
enricosada
9y ago
Is already at the beginning of the article, but should be more visibible how MS Research and Don Syme seen the opportunity to add generics (neeeded for F#) and added that. With design already supporting later addition like variance. Not jus
12.
▲
by
enricosada
9y ago
There are lot of scenario where F# can be used. In some scenario support is more stable, other experimental, other are not supported. like every technology. Because budget is not infinite, you need to prioritize. Just to show you things hap
13.
▲
by
enricosada
9y ago
See https://github.com/dotnet/netcorecli-fsc/wiki/.NET-Core-SDK-... for quickstart and info for F# on .NET Core. VSCode (with ionide), vim (vim-fsharp binding), emacs (fsharp-mode) already support it, with fu
14.
▲
by
enricosada
10y ago
Or using awesome |> pipeline operator "/path/to/file" |> File.ReadLines |> Seq.iter (printfn "%s") the printfn can be expanded as function, instead of partial app "&#x
15.
▲
by
enricosada
10y ago
Big :+1: to continuous, the f#/c# ide for ipad, really slick
16.
▲
by
enricosada
10y ago
About .net core and F#, see wiki https://github.com/dotnet/netcorecli-fsc/wiki/.NET-Core-SDK-... for info Debugging in vscode is coming soon (before rtm), works already in dev version
17.
▲
by
enricosada
10y ago
About .net core and f#, just see wiki https://github.com/dotnet/netcorecli-fsc/wiki/.NET-Core-SDK-... for more info
18.
▲
by
enricosada
10y ago
that website is gold anyway, not only for f#. Lots of nice concepts, explained simply. And lots of good tutorial/ideas
19.
▲
by
enricosada
10y ago
Depends what you mean released. rtm not, but rc are out, and works. Or use VS2017-rc, to use f# 4.1 with .NET framework Or use .NET Core sdk and .net core https://github.com/dotnet/netcorecli-fsc/wiki/.NET-Co
20.
▲
by
enricosada
10y ago
the Suave extension for ASP.NET Core ( https://www.nuget.org/packages/Suave.AspNetCore/ ) is fast and you can use lots of suave specific features, with same performant kestrel as base, because suave is added as midd
21.
▲
by
enricosada
10y ago
well, some options for mobile - xamarin works with f# and support it: https://developer.xamarin.com/guides/cross-platform/fsharp/f... - use react native (with fable to transpile f# -> js): https:/&#x
22.
▲
by
enricosada
10y ago
About web: - use Suave ( https://suave.io/ ), best from f#, works on .netcore too - use Aspnet Core Mvc (just `dotnet new -l fsharp -t web` in dotnetcore), or just aspnet core
23.
▲
by
enricosada
10y ago
About F# and .NET Core, you can read more info (usage/bugs/workaround) in the wiki https://github.com/dotnet/netcorecli-fsc/wiki/ The only ide who support f# and .net core is VSCode (with Ionide ext
24.
▲
by
enricosada
10y ago
some issues there: - how can you set a property to null? if setting to null is going to be used the old value - there is no structural equality - only for properties with reference types, value types non nullable (like int) cannot be used l
25.
▲
by
enricosada
10y ago
Awesome to see F# supported, based on OSS F# for Jupyter Notebooks ( https://github.com/fsprojects/IfSharp ) work. It's really lovely when a tool written in another tech (Python there) can be used/extended with
26.
▲
by
enricosada
10y ago
What's the difference with http://nessos.github.io/Streams/ for F#/C# ?
27.
▲
by
enricosada
10y ago
there is not much windows only, check github status of dotnet/cli (the sdk), https://github.com/dotnet/cli#build-status , lots of os supported, just clone + build
28.
▲
by
enricosada
10y ago
ms is maintaining project.json based sdk too with version preview2, so devs can continue to work, no need to switch to new msbuild soon (wait until is done). ide are good (intellsiense/debugging), especially vscode, but sdk works alrea
29.
▲
by
enricosada
10y ago
just `dotnet migrate` if you have an old project.json, or create a new one with `dotnet new`. after that as usual - dotnet restore - dotnet build - dotnet run - dotnet pack - dotnet publish - dotnet test the cli is the same, the dotnet/
30.
▲
by
enricosada
10y ago
In the blog post that's an breakdown of ms project, yes. Used to show how ms is doing with open source? yes. because .net framework (and implementation of runtime,compiler/blc) was owned by ms (mono is another implementation of th
More ›