Trying to convert an XML file (e.g. a list of sales record) to a list of type_sales in F#. but i don't want to write something like: xmlnode.product = typesales.product xmlnode.price = typesales.price ...etc
I want to have some code that just takes ("product", "price", ...etc) and do the mapping, similar to lisp macro
Can i do this in f#?
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Thanks KVB for the link. Very new to F#, the question popped up while I was playing with this XML file in F#, but now I think my general question is: does F# have something like macro in lisp?