.net - How to enumerate an enum/type in F# -


I have such a calculated type of type:

  type tag = | ART = 0 | N = 1 | V = 2 | P = 3 |  

This is an error that I '

= "post-text" itemprop = "text">

Use:

  all tags = Enum.GetValues ​​(typeof & lt; tags & gt;)  

Comments

Popular posts from this blog

.net - C# List<T>.Find(x=>x.Rectangle.Contains(Point)) FAIL -

iphone - Smoothing a rounded stroke in Core Graphics -

c++ - QtQuick: QQmlApplicationEngine failed to load component qrc:/main.qml:23 Invalid attached object assignment -