1
1
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:
Rob Rix 2019-07-22 14:53:54 -04:00
parent 1ce4153148
commit b8bcad0126
No known key found for this signature in database
GPG Key ID: F188A01508EA1CF7

View File

@ -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)