Skip to content

Instantly share code, notes, and snippets.

@tkuriyama
Last active September 27, 2015 15:17
Show Gist options
  • Select an option

  • Save tkuriyama/686c1679443fb0288952 to your computer and use it in GitHub Desktop.

Select an option

Save tkuriyama/686c1679443fb0288952 to your computer and use it in GitHub Desktop.
Testing GitHub syntax highlighting in F#
let product = List.fold (*) 1
let product = List.fold (fun acc x -> acc * x) 1
let fold1 f items =
List.fold f (List.head items) (List.tail items)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment