Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- type Bar = {
- level : int
- option : int
- }
- type Foo = {
- name : string
- bars : Map<int, Bar>
- }
- let a = {Foo.name = "test"; bars = Map.empty}
- let b = {Foo.name = "test"; bars = Map.empty |> Map.add i {level = 0; option = 1}}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement