A peer-to-peer stack for code collaboration
`load!` errors report the file loaded. (#125)
James Haydon84d0911d9d75
diff --git a/src/Radicle/Internal/Effects.hs b/src/Radicle/Internal/Effects.hsindex cb2345b..8fb8910 100644--- a/src/Radicle/Internal/Effects.hs+++ b/src/Radicle/Internal/Effects.hs@@ -129,7 +129,7 @@ replPrimFns = PrimFns . Map.fromList $ first unsafeToIdent <$>), ( "load!", oneArg "load!" $ \case- String filename -> readFileS filename >>= interpretMany "[load!]"+ String filename -> readFileS filename >>= interpretMany ("[load! " <> filename <> "]")_ -> throwErrorHere $ TypeError "load: expects a string"), ( "gen-key-pair!"