Programkonstruktion och Datastrukturer
Programkonstruktion och Datastrukturer
Programkonstruktion och Datastrukturer
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Från kod till komplexitet<br />
● Ett till exempel (funktionens syfte är oviktigt)<br />
fun gizmo [] = 0<br />
| gizmo (f::r) =<br />
let<br />
in<br />
val v = countOccurences(f,r)<br />
v + gizmo r<br />
end;