Another couple of examples
val s = [“1”,”2”,”3”];
val hd::tl = s;
val hd = “1” : string
val tl = [“2”,”3”] : string list
val hd::_ = s;
val hd = “1” : string
Previous slide
Next slide
Back to first slide
View graphic version