I don't see any way do this with the built-in functions. You can just create a special function like so:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
open System.Text

let big_list_to_string x =
    let rec big_list_to_string x (sb:StringBuilder) =
        match x with 
        | [] -> 
            sb.Append("]") |> ignore
            sb.ToString()
        | hd::[] -> 
            sb.Append(hd.ToString() + "]") |> ignore
            sb.ToString()
        | hd::tl -> 
            sb.Append(hd.ToString() + "; ") |> ignore
            big_list_to_string tl sb
    big_list_to_string x (new StringBuilder("["))
By on 3/10/2009 1:14 PM ()
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper