The composition operator expects an ('a -> 'b) as its first argument, and you gave it a (LabeledList -> LabeledList -> LabeledList list).
It will therefore infer 'a as LabeledList and 'b as (LabeledList -> LabeledList list) and complain that the latter doesn't match the type of the argument of DoNothing. The solution in this snippet is to declare TwoLabeledLists as taking a pair as argument.

By on 12/8/2009 12:41 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