From 7eeb16eb40657df6be56bddd3bf4163de1312336 Mon Sep 17 00:00:00 2001 From: Ilya Puchka Date: Mon, 11 Feb 2019 20:17:06 +0000 Subject: [PATCH] =?UTF-8?q?Beautify=20table=20in=20READMY=20=F0=9F=96=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index a79d29f..81a5ae3 100644 --- a/README.md +++ b/README.md @@ -37,13 +37,12 @@ let canForceLogout: State -> Bool = [.loggingIn, .loggedIn].contains // 2. Setup state-transition mappings. let mappings: [Automaton.EffectMapping] = [ - /* Input | fromState => toState | Effect */ - /* ----------------------------------------------------------*/ - .login | .loggedOut => .loggingIn | loginOKProducer, - .loginOK | .loggingIn => .loggedIn | .empty(), - .logout | .loggedIn => .loggingOut | logoutOKProducer, - .logoutOK | .loggingOut => .loggedOut | .empty(), - + /* Input | fromState => toState | Effect */ + /* ----------------------------------------------------------------*/ + .login | .loggedOut => .loggingIn | loginOKProducer, + .loginOK | .loggingIn => .loggedIn | .empty(), + .logout | .loggedIn => .loggingOut | logoutOKProducer, + .logoutOK | .loggingOut => .loggedOut | .empty(), .forceLogout | canForceLogout => .loggingOut | forceLogoutOKProducer ]