AsyncRattus 0.2 → 0.2.0.1
raw patch · 3 files changed
+7/−3 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- AsyncRattus.cabal +1/−1
- CHANGELOG.md +4/−0
- src/AsyncRattus/Plugin/Transform.hs +2/−2
AsyncRattus.cabal view
@@ -1,6 +1,6 @@ cabal-version: 1.18 name: AsyncRattus-version: 0.2+version: 0.2.0.1 category: FRP synopsis: An asynchronous modal FRP language description:
CHANGELOG.md view
@@ -1,3 +1,7 @@+# 0.2.0.1++Fix bug in elaboration of delay, adv, select+ # 0.2 Instead of marking individual function definitions as Async Rattus
src/AsyncRattus/Plugin/Transform.hs view
@@ -107,8 +107,8 @@ let firstPrimInfo = foldl (\acc (p, _) -> acc <|> p) primInfo transformed let alts' = map snd transformed return (Case expr b t alts', firstPrimInfo)-transform' ctx (Cast e _) = transform' ctx e-transform' ctx (Tick _ e) = transform' ctx e+transform' ctx (Cast e c) = do (e' , p) <- transform' ctx e; return (Cast e' c, p)+transform' ctx (Tick t e) = do (e' , p) <- transform' ctx e; return (Tick t e', p) transform' _ e = return (e, Nothing) constructClockExtractionCode :: PrimInfo -> CoreM CoreExpr