Skip to content

Commit

Permalink
🧩 [layout]
Browse files Browse the repository at this point in the history
  • Loading branch information
rolyp committed Sep 22, 2023
1 parent 66c0b28 commit 6b2c4e3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Module.purs
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,9 @@ openDatasetAs :: forall g. Graph g => File -> Var -> GraphConfig g -> Aff (Graph
openDatasetAs file x { g, n, γα } = do
s <- parseProgram (Folder "fluid") file
(g' × n') × (γα' × xv) <- fromRight <$>
( runWithGraphAllocT (g × n) $ do
runWithGraphAllocT (g × n) do
e <- desug s
eα <- alloc e
vα <- eval γα eα empty
pure (γα × D.singleton x vα)
)
pure ({ g: g', n: n', γα: γα' } × xv)

0 comments on commit 6b2c4e3

Please sign in to comment.