Write code that returns the length of a string without using any built-in functions. It took me a while to realize that they're probably not counting infix operators that behave like functions except for the syntax. Accomplishing this task in Lisp or Haskell would be nearly impossible.
my_len_acc :: [a] -> Int -> Int
my_len_acc [] so_far = so_far
my_len_acc (_:xs) so_far = my_len_acc xs $ so_far + 1
my_len :: [a] -> Int
my_len some_str = my_len_acc some_str 0