From bf573371185de2c52e8b6ff46bff30f6d7d9f3c4 Mon Sep 17 00:00:00 2001
From: Raimo Niskanen
Date: Wed, 18 Apr 2018 10:06:19 +0200
Subject: Improve pointer to User's Guide
---
lib/stdlib/doc/src/gen_statem.xml | 20 +++++++++++++-------
1 file changed, 13 insertions(+), 7 deletions(-)
(limited to 'lib')
diff --git a/lib/stdlib/doc/src/gen_statem.xml b/lib/stdlib/doc/src/gen_statem.xml
index 28ea3fa00b..e918e83df7 100644
--- a/lib/stdlib/doc/src/gen_statem.xml
+++ b/lib/stdlib/doc/src/gen_statem.xml
@@ -34,7 +34,7 @@
gen_statem provides a generic state machine behaviour
and replaces its predecessor
- gen_fsm
+ gen_fsm
since Erlang/OTP 20.0.
@@ -46,9 +46,15 @@
To get an overview of the concepts and operation of gen_statem,
do read the
- User's Guide.
- It frequently links back to this reference manual to avoid containing
- detailed facts that may rot by age.
+
+ gen_statem Behaviour
+
+ in
+
+ OTP Design Principles
+
+ which frequently links back to this reference manual to avoid
+ containing detailed facts that may rot by age.
@@ -67,7 +73,7 @@
gen_statem has got the same features that
- gen_fsm
+ gen_fsm
had and adds some really useful:
@@ -749,11 +755,11 @@ handle_event(_, _, State, Data) ->
is used; the gen_statem calls
the new state callback with arguments
- (enter, OldState, Data).
+ (enter, OldState, Data).
Any
- actions
+ actions
returned from this call are handled as if they were
appended to the actions
returned by the state callback that caused the state entry.
--
cgit v1.2.3