Help in designing a tree structure - Tension between functional and OOP
问题 I've been learning f# in the previous days, writing a small project which, at last, works (with the help of SO, of course). I'm trying to learn to be as idiomatic as possible, which basically means that I try to not mutate my data structures. This is costing me a lot of effort :-) In my search for idiomatic functional programming, I have been trying to use as much as possible lists, tuples and record, rather than objects. But then "praticality beats purity" and so I'm rewriting my small