Created
December 11, 2012 12:28
-
-
Save forki/4258217 to your computer and use it in GitHub Desktop.
concat in F#
This file contains hidden or 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
| 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