The sample has been fixed. Thanks for reporting the error!
By on 3/5/2013 5:08 AM ()
As shown in the other answer, indentation is important: the body here is a list of three elements. If you want to write the elements of a list on the same line, you need to add semicolons between them.
It seems that the sample contains an error, we will fix this as soon as possible.
By on 3/4/2013 10:50 PM ()
Seems like this fixes the error.

1
2
3
4
5
6
7
    let HomePage =        
        Skin.WithTemplate "HomePage" <| fun ctx ->
            [
                Div [Text "HOME"]
                Links ctx
                Div  [new Controls.HelloControl ()]
            ]
By on 3/4/2013 7:29 PM ()
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us
Built with WebSharper