1
1
mirror of https://github.com/anoma/juvix.git synced 2024-12-28 10:04:49 +03:00
juvix/app/Commands/Dev/Anoma.hs
Jan Mas Rovira 1d7bf1f25b
Fix compiler error on import cycles (#3171)
- Fixes #3161 

The strongly connected components given in [this
function](https://hackage.haskell.org/package/containers-0.7/docs/Data-Graph.html#v:stronglyConnComp)
are not guaranteed to give a cycle in the order they are given. I've
fixed that
2024-11-15 09:41:02 +01:00

14 lines
344 B
Haskell

module Commands.Dev.Anoma
( module Commands.Dev.Anoma,
module Commands.Dev.Anoma.Options,
)
where
import Commands.Base
import Commands.Dev.Anoma.Node qualified as Node
import Commands.Dev.Anoma.Options
runCommand :: (Members AppEffects r) => AnomaCommand -> Sem r ()
runCommand = \case
AnomaCommandNode opts -> Node.runCommand opts