Use fx.Effect instead of Effect

This commit is contained in:
Richard Feldman 2021-07-19 22:24:05 -04:00
parent db69ae1db1
commit 6eaf2c7f80
2 changed files with 3 additions and 3 deletions

View File

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

View File

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