Skip to content

ex1 03

← Back

Basic Info

Functional Programming
└── Lab ML
    └── 0​307
        └── ex1 03.sml

Preview

(*Find the third element of a list (it doesn’t have to work properly on shorter lists)*)

fun third (l) = hd (tl(tl(l)));