How do I clear the terminal screen in Haskell?

ghci, haskell, terminal

Solution

:! run the shell command :! cls under windows :! clear under linux and OS X

Problem

How can I clear a terminal screen after my user has selected an option from my application's menu?

Original source