A peer-to-peer stack for code collaboration
Review fixes
Julian K. Arnifbbf9c785a69
diff --git a/repl/Main.hs b/repl/Main.hsindex b3dd368..bab77f5 100644--- a/repl/Main.hs+++ b/repl/Main.hs@@ -29,7 +29,7 @@ getConfig :: IO FilePathgetConfig = domCfgHome <- lookupEnv "XDG_CONFIG_HOME"pure $ case mCfgHome of- Nothing -> "~/.config/rad/config.rad"+ Nothing -> "$HOME/.config/rad/config.rad"Just cfgHome -> cfgHome <> "/rad/config.rad"-- | Uses XDG_CACHE_HOME if available.@@ -37,7 +37,7 @@ getHistory :: IO FilePathgetHistory = domCfgHome <- lookupEnv "XDG_CACHE_HOME"pure $ case mCfgHome of- Nothing -> "/home/jkarni/.cache/rad/history"+ Nothing -> "$HOME/.cache/rad/history"Just cfgHome -> cfgHome <> "/rad/history"data Opts = Optsdiff --git a/src/Radicle/Internal/Subscriber.hs b/src/Radicle/Internal/Subscriber.hsindex 1be67a2..6538c79 100644--- a/src/Radicle/Internal/Subscriber.hs+++ b/src/Radicle/Internal/Subscriber.hs@@ -33,7 +33,7 @@ repl histFile preCode = do$ runLang replBindings$ interpretMany "[pre]" preCodecase r of- Left Exit -> return ()+ Left Exit -> pure ()Left e -> putDoc $ pretty eRight v -> putDoc $ pretty v