A simple polymorphic function on lists

Build a polymorphic function that takes a list as argument and returns a list containing the first two elements when they exist.
Replace "the first two elements" with "the first n elements"

Solution

This file


Going home
Pierre Castéran