Skip to content

Commit 043c4f8

Browse files
committed
Add snippet to start Gradient to the examples
1 parent 02f43e4 commit 043c4f8

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

examples/typed_gen_server/lib/typed_gen_server/stage1.ex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ defmodule TypedGenServer.Stage1.Server do
55
## Start IEx with:
66
## iex -S mix run --no-start
77
##
8+
## Start Gradient:
9+
## Application.ensure_all_started(:gradient)
10+
##
811
## Then use the following to recheck the file on any change:
912
## recompile(); Gradient.type_check_file(:code.which( TypedGenServer.Stage1.Server ), [:infer])
1013

examples/typed_gen_server/lib/typed_gen_server/stage2.ex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ defmodule TypedGenServer.Stage2.Server do
66
## Start IEx with:
77
## iex -S mix run --no-start
88
##
9+
## Start Gradient:
10+
## Application.ensure_all_started(:gradient)
11+
##
912
## Then use the following to recheck the file on any change:
1013
## recompile(); Gradient.type_check_file(:code.which( TypedGenServer.Stage2.Server ), [:infer])
1114

examples/typed_gen_server/lib/typed_gen_server/stage4.ex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ defmodule TypedGenServer.Stage4.Server do
77
## Start IEx with:
88
## iex -S mix run --no-start
99
##
10+
## Start Gradient:
11+
## Application.ensure_all_started(:gradient)
12+
##
1013
## Then use the following to recheck the file on any change:
1114
## recompile(); Gradient.type_check_file(:code.which( TypedGenServer.Stage4.Server ), [:infer])
1215

0 commit comments

Comments
 (0)