You don’t need to use the new keyword at all. Indeed in F#4 constructors are treated as first-class functions so you can use them within e.g. List.map etc..
The only time you’ll get a warning for not using the new keyword is for classes that implement IDisposable.
--
--
To post, send email to fsharp-o...@googlegroups.com
To unsubscribe, send email to
fsharp-opensou...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/fsharp-opensource
---
You received this message because you are subscribed to the Google Groups "F# Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fsharp-opensou...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
let v = SomeView(Color = green)in F# 3.x too, it will work just fine.