Created
August 8, 2015 19:40
-
-
Save freshcutdevelopment/05c5b7581b07cb9dd3d9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
open System | |
type quote = {message :string; actor: string;} | |
[<EntryPoint>] | |
let main argv = | |
let quotes = [{message="shaken not stirred"; actor="sean connery"}; | |
{message="i'll be back";actor="terminator"}] | |
quotes |> List.iter (fun m -> printfn "%s said '%s'" m.actor m.message ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment