Skip to content

Instantly share code, notes, and snippets.

@nojaf
Created February 20, 2018 10:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nojaf/370d43d99a955c432c3b6d519e796a5e to your computer and use it in GitHub Desktop.
Save nojaf/370d43d99a955c432c3b6d519e796a5e to your computer and use it in GitHub Desktop.
F# Cheatsheet
// Alias tuple
type XmlAddition =
| XmlElementAddition of parent: XPath * childNodeIndex:int * element: XElement
| XmlTextAddition of parent:XPath * textContent: string
| XmlAttributeAddition of node:XPath * attributeName:string * attributeValue:string
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment