mirror of
https://github.com/anoma/juvix.git
synced 2024-09-20 21:17:13 +03:00
97030f8cb4
- ⚠️ Depends on #2644 The `effectful` library does not support the `Embed` effect out of the box. However, it offers `IOE`, which is equivalent to `Embed IO` from polysemy. In preparation to a possible migration to `effectful`, this pr hides the general `Embed` effect from the prelude and it exports a specialized `EmbedIO` in its place.
14 lines
369 B
Haskell
14 lines
369 B
Haskell
module Commands.Dependencies
|
|
( module Commands.Dependencies,
|
|
module Commands.Dependencies.Options,
|
|
)
|
|
where
|
|
|
|
import Commands.Base
|
|
import Commands.Dependencies.Options
|
|
import Commands.Dependencies.Update qualified as Update
|
|
|
|
runCommand :: (Members '[EmbedIO, TaggedLock, App] r) => DependenciesCommand -> Sem r ()
|
|
runCommand = \case
|
|
Update -> Update.runCommand
|