Skip to content

ex1 10

← Back

Basic Info

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

Preview

(*Given a list, remove the second element. It doesn’t need to work on lists shorter than 2*)

fun rem l = hd(l) :: tl(tl(l));