Haskell interface: adding linklist output