Haskell Best Practise: Early termination in Haskeline
问题 I am using the Haskeline package and I want to get three strings in a row from the command line before I do anything and I have come up with what seems to be a neat solution to me. But I am sure that there might be a better way to do it. I am looking for best practices while using the Haskeline package. Please evaluate the merits of the following example code: import System.Console.Haskeline import Control.Monad.Trans import Control.Monad.Maybe import Data.Maybe import Control.Monad main ::