Search code examples
haskellghcghci

Would like to import splitOn without using Cabal or Stack


I would like to import splitOn without using Cabal or Stack. Is that possible? It GHCi refuses to import Data.Text, Data.List.Split, or Data.Split, what's the next step without using a Cabal or Stack? Is it possible to import it directly from within GHCi?

Thanks.


Solution

  • Running

    cabal install missingh
    

    and

    cabal install split
    

    solved the problem. It seems like that shouldn't have been necessary, but apparently it was.