mirror of
https://github.com/github/semantic.git
synced 2024-11-24 08:54:07 +03:00
Use do' instead of block.
This commit is contained in:
parent
1ce4153148
commit
b8bcad0126
@ -125,10 +125,10 @@ prog6 :: [File (Term Core User)]
|
||||
prog6 =
|
||||
[ File (Loc "dep" (locSpan (fromJust here))) $ Core.record
|
||||
[ ("dep", Core.record [ ("var", Core.bool True) ]) ]
|
||||
, File (Loc "main" (locSpan (fromJust here))) $ block
|
||||
, File (Loc "main" (locSpan (fromJust here))) $ do' (map (Nothing :<-)
|
||||
[ load (Core.string "dep")
|
||||
, Core.record [ ("thing", pure "dep" Core.... "var") ]
|
||||
]
|
||||
])
|
||||
]
|
||||
|
||||
ruby :: File (Term Core User)
|
||||
|
Loading…
Reference in New Issue
Block a user