I'm interested in .NET ecosystem languages, as well as functional programming. How is the parsing and meta-programming toolset? How easy or hard would it be for me to implement a subset of F# that only allows pure functions?
If you wanted to create a version of F# that only allows pure functions, your best option is probably to modify the F# compiler (which is open source). However, that sounds like something that might not be all that useful. A more useful thing could potentially be to use the "F# Compiler Service" (which is the compiler API, exposed via a nice F# library) and create some tool that checks purity. I think many people mig…
What's New in F# 4.1? [video]
21–30 of 65 posts
Re: What's New in F# 4.1? [video]
#22While it is great to see all those new features appearing in F# 4.1, the video gives a very narrow perspective on "what is new in F#" - it is a video about new language features in 4.1 and so this is to be expected - but if I was to list "what is new in F# in 2016", large portion of the list would include recent community contributions. Three recent projects are: * http://fable.io , which is a modern F# to JavaScript…
- install VSCode and then Ionide
- install .net core
- install mono (i believe ionide still uses mono)
- install node and npm and then yeoman
- install the aspnet generator for yo
- "yo aspnet" will give the option to generate a working ASP.NET F# website
Re: What's New in F# 4.1? [video]
#23While it is great to see all those new features appearing in F# 4.1, the video gives a very narrow perspective on "what is new in F#" - it is a video about new language features in 4.1 and so this is to be expected - but if I was to list "what is new in F# in 2016", large portion of the list would include recent community contributions. Three recent projects are: * http://fable.io , which is a modern F# to JavaScript…
VS Code and Ionide work really well together. There are some slight issues like the loss of syntax highlighting in certain cases, but that is a really small issue. I am using this combination on a GalliumOS chromebook and it works out of the box in like 10 or 15 minutes: - install VSCode and then Ionide - install .net core - install mono (i believe ionide still uses mono) - install node and npm and then yeoman - inst…
Not in my experience. Never since it appear the setup have worked for me, not even once.
I try again last week. I need to copy-paste the .sh script from github because the one it generate was wrong.
P.D: I don' use yeoman. NPM bloat is not my style: I follow the MS tutorial:
https://docs.microsoft.com/en-us/dotnet/articles/fsharp/tuto...
Re: What's New in F# 4.1? [video]
#24Earlier quoted context omitted.
Very strong on the parsing front - FSharp.Data contains parsers and type providers for a variety of common formats and FParsec is a mature parser combinators library.
FParsec is fantastic. I have implemented a parser that supports a indentation based language in it. FParsec makes it very productive, and very fun.
Re: What's New in F# 4.1? [video]
#25I'm interested in .NET ecosystem languages, as well as functional programming. How is the parsing and meta-programming toolset? How easy or hard would it be for me to implement a subset of F# that only allows pure functions?
If we are talking about building a language in F#, remember that is possible to use any language for that.
In fact is make support for side-efects and mutating that complicate the build of a compiler/interpreter.
Re: What's New in F# 4.1? [video]
#26Earlier quoted context omitted.
VS Code and Ionide work really well together. There are some slight issues like the loss of syntax highlighting in certain cases, but that is a really small issue. I am using this combination on a GalliumOS chromebook and it works out of the box in like 10 or 15 minutes: - install VSCode and then Ionide - install .net core - install mono (i believe ionide still uses mono) - install node and npm and then yeoman - inst…
> VS Code and Ionide work really well together Not in my experience. Never since it appear the setup have worked for me, not even once. I try again last week. I need to copy-paste the .sh script from github because the one it generate was wrong. P.D: I don' use yeoman. NPM bloat is not my style: I follow the MS tutorial: https://docs.microsoft.com/en-us/dotnet/articles/fsharp/tuto...
Also, you don't need to use yeoman, "dotnet new --lang F#" produces a blank F# .net core project and then you can add all of the dependencies manually.
Re: What's New in F# 4.1? [video]
#27Re: What's New in F# 4.1? [video]
#28Earlier quoted context omitted.
FParsec is fantastic. I have implemented a parser that supports a indentation based language in it. FParsec makes it very productive, and very fun.
Is published? I have tried to use FParsec before for the same kind of language and failed.
ParserUtils is where maybeIndented and indented are. They make indentation just work. There currently overzealous with backtracking though, makes errors kinda shit. Working on that at somepoint.
https://gist.github.com/xavierzwirtz/99479a11f1eefd3215467f7...
Re: What's New in F# 4.1? [video]
#29We need HKT. F#. Cmon... I love F# but seriosly...
Not only we do not need HKT, we also do not need Profunctor Optics.
Re: What's New in F# 4.1? [video]
#30We need HKT. F#. Cmon... I love F# but seriosly...
We're working on Type Classes. It seems like HKTs (or anything like them) are going to be hard without diverging in a huge way from the rest of the .NET ecosystem.