Last active
November 10, 2017 15:42
-
-
Save deque-blog/3bb5c4ff22fb12bed90a0cc0dde43068 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
REPL> botSequence .| password 3 (== "Scotty") | |
WriteLine "Password:" | |
(WriteLine "Spock" | |
(WriteLine "Login failed: 1 attempt(s)." | |
(WriteLine "Password:" | |
(WriteLine "Search again..." | |
(ReadLine (\x => | |
WriteLine "Scotty" | |
(WriteLine "Successful login after 2 attempt(s)." | |
(Pure True)))))))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment