~jojo/Carth

ref: 89feacb8828cbb1a3030454a6ecc25f7e21a23fa Carth/src/EnvVars.hs -rw-r--r-- 194 bytes
89feacb8JoJo Move QuickCheck dep from lib to test in package.yaml 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
module EnvVars (modulePaths) where

import System.Environment (lookupEnv)

import Misc


modulePaths :: IO [FilePath]
modulePaths = fmap (maybe [] (splitOn ":")) (lookupEnv "CARTH_MODULE_PATH")