mirror of
https://github.com/anoma/juvix.git
synced 2024-12-03 09:41:10 +03:00
a825f41507
Now the prelude exports this function: ``` readFile :: (MonadIO m) => Path Abs File -> m Text readFile = liftIO . Utf8.readFile . toFilePath ``` It is more convenient to use because it uses typed `Path` and works in any `MonadIO`. |
||
---|---|---|
.. | ||
Compile | ||
Run | ||
Transformation | ||
Validate | ||
Compile.hs | ||
Run.hs | ||
Transformation.hs | ||
Validate.hs |