From d70ba66fafb485c9d4541a503ff55f96c5c5255e Mon Sep 17 00:00:00 2001 From: Hayleigh Thompson Date: Wed, 19 Jul 2023 11:44:59 +0100 Subject: :truck: Rename 'Cmd' to 'Effect' to better communicate what they're all about. --- test/examples/counter.gleam | 2 +- test/examples/input.gleam | 2 +- test/examples/nested.gleam | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'test') diff --git a/test/examples/counter.gleam b/test/examples/counter.gleam index 0bff35b..3858fc6 100644 --- a/test/examples/counter.gleam +++ b/test/examples/counter.gleam @@ -9,7 +9,7 @@ import lustre/event // MAIN ------------------------------------------------------------------------ pub fn main() { - // A `simple` lustre application doesn't produce `Cmd`s. These are best to + // A `simple` lustre application doesn't produce `Effect`s. These are best to // start with if you're just getting started with lustre or you know you don't // need the runtime to manage any side effects. let app = lustre.simple(init, update, render) diff --git a/test/examples/input.gleam b/test/examples/input.gleam index 9916000..352e480 100644 --- a/test/examples/input.gleam +++ b/test/examples/input.gleam @@ -11,7 +11,7 @@ import lustre/html.{div, input, label, pre} // MAIN ------------------------------------------------------------------------ pub fn main() { - // A `simple` lustre application doesn't produce `Cmd`s. These are best to + // A `simple` lustre application doesn't produce `Effect`s. These are best to // start with if you're just getting started with lustre or you know you don't // need the runtime to manage any side effects. let app = lustre.simple(init, update, render) diff --git a/test/examples/nested.gleam b/test/examples/nested.gleam index bd94abe..b16c4ba 100644 --- a/test/examples/nested.gleam +++ b/test/examples/nested.gleam @@ -11,7 +11,7 @@ import lustre/html.{div} // MAIN ------------------------------------------------------------------------ pub fn main() { - // A `simple` lustre application doesn't produce `Cmd`s. These are best to + // A `simple` lustre application doesn't produce `Effect`s. These are best to // start with if you're just getting started with lustre or you know you don't // need the runtime to manage any side effects. let app = lustre.simple(init, update, render) -- cgit v1.2.3