implement clock for haskell

/cc @soapie @qnikst @pminten @sjakobi
…**is** an instance…?