ex2 4¶ ← Back Basic Info¶ Type: sml Size: 105 B Origin Download Functional Programming └── Lab ML └── 0307 └── ex2 4.sml Preview¶ (* Compute the length of a list *) fun length L = if L = nil then 0 else 1 + length(tl(L)) ;