From 6eaf2c7f8082df92fa42ad80ed305a8a4d29bb8b Mon Sep 17 00:00:00 2001 From: Richard Feldman Date: Mon, 19 Jul 2021 22:24:05 -0400 Subject: [PATCH] Use fx.Effect instead of Effect --- examples/tea/platform/Cmd.roc | 4 ++-- examples/tea/platform/Package-Config.roc | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/tea/platform/Cmd.roc b/examples/tea/platform/Cmd.roc index cb0a78b1cc..f5cce71b67 100644 --- a/examples/tea/platform/Cmd.roc +++ b/examples/tea/platform/Cmd.roc @@ -1,6 +1,6 @@ interface Cmd exposes [ Cmd, none, map, putLine, getLine, always, after ] - imports [ Effect ] + imports [ fx.Effect ] Cmd a : Effect.Effect a @@ -15,7 +15,7 @@ getLine = \toMsg -> Effect.map Effect.getLine toMsg putLine : Str -> Cmd {} -putLine = \line -> Effect.putLine line +putLine = \line -> Effect.putLine line map : Cmd a, (a -> b) -> Cmd b map = \cmd, transform -> Effect.map cmd transform diff --git a/examples/tea/platform/Package-Config.roc b/examples/tea/platform/Package-Config.roc index d0885eac1a..67d2acf28a 100644 --- a/examples/tea/platform/Package-Config.roc +++ b/examples/tea/platform/Package-Config.roc @@ -2,7 +2,7 @@ platform folkertdev/foo requires {model=>Model, msg=>Msg}{foo:Str} exposes [] packages {} - imports [Cmd] + imports [ Cmd ] provides [ mainForHost ] effects fx.Effect {