I’m halfway through this exercise and I see a test that requires mutability for the account. This isn’t covered in the syllabus. Can someone point me in the right direction. A class? Some other … thingy?
Are you using records? If so, can you return a new record with the updated values? (I can’t see the exercise because I haven’t started the F# track).
If you really need to change the value of the record, you can look into mutable fields. Or mutable variables if it’s not a record.
Thanks, good hint.
The test requires mutability not a new record.