What's New in F# 4.1? [video]
channel9.msdn.com
What's New in F# 4.1? [video]
1–10 of 65 posts
Re: What's New in F# 4.1? [video]
#2Re: What's New in F# 4.1? [video]
#3I feel like the title lacks the "[video]" tag. Unless I've missed the text version somewhere on that page.
Re: What's New in F# 4.1? [video]
#4Re: What's New in F# 4.1? [video]
#5Re: What's New in F# 4.1? [video]
#6We need HKT. F#. Cmon... I love F# but seriosly...
Re: What's New in F# 4.1? [video]
#7 type ProductId = ProductId of int
Meant it allocated an instance on the heap for it before 4.1? Wow.Re: What's New in F# 4.1? [video]
#8We need HKT. F#. Cmon... I love F# but seriosly...
Re: What's New in F# 4.1? [video]
#9Wait what, doing this as an alias type ProductId = ProductId of int Meant it allocated an instance on the heap for it before 4.1? Wow.
Generally speaking, it's better to use Units of Measure[0] when you want some compile-time semantics around numeric literals, as these don't incur the performance penalty of creating a class.
[0]: https://docs.microsoft.com/en-us/dotnet/articles/fsharp/lang...
Re: What's New in F# 4.1? [video]
#10We need HKT. F#. Cmon... I love F# but seriosly...
What's hkt?
"With higher-kinded types [...] type operators can be parameterized by other type operators. Java doesn’t support higher-kinded types, but, if it did, you would be able to write something like this:"
class GraphSearch {
T frontier;
}
Source: https://www.stephanboyer.com/post/115/higher-rank-and-higher...