Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.