Skip to content

Instantly share code, notes, and snippets.

@forki
Created December 11, 2012 12:28
Show Gist options
  • Save forki/4258217 to your computer and use it in GitHub Desktop.
Save forki/4258217 to your computer and use it in GitHub Desktop.
concat in F#
let rec concat(xs,ys) =
match xs with
| [] -> ys
| x::xs -> x :: concat(xs,ys)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment