Write a function last : 'a list -> 'a option that returns the last element of a list.
0 people like thisPosted: 9 years ago by DC F#
Find the k'th element of a list. (easy)
0 people like thisPosted: 9 years ago by DC F#
Find the last but one (last and penultimate) elements of a list. (easy)
0 people like thisPosted: 9 years ago by DC F#
f# has Seq.length but we ask that you reimplement it. Bonus for a tail recursive solution.
0 people like thisPosted: 9 years ago by DC F#