Skip to content

Instantly share code, notes, and snippets.

Avatar

Dave Lowe iwasdavid

View GitHub Profile
View functions.fs
let addNameAgeAndAddress fname lname age town =
sprintf "Your name is %s %s and you are %i years old and you live in %s" fname lname age town
let addNameAgeAndAddress' fname lname =
(fun age town -> sprintf "Your name is %s %s and you are %i years old and you live in %s" fname lname age town)
View possible outputs
<Content>
<Blah>adasd</Blah>
<Stuff>asdadas</Stuff>
<Thing>asdasd</Thing>
<Other>asdadas</Other>
</Content>
<Content>
<Blah>adasd</Blah>
<Stuff>asdadas</Stuff>
@iwasdavid
iwasdavid / List.fsx
Last active Feb 23, 2019
Splitting list on specific word
View List.fsx
let words = [
"Title"
"Some text"
"Some other text"
"Some text"
"Some other text"
"Title"
"Some text"
"Some other text"
"Title"
You can’t perform that action at this time.