-
-
Save dminuoso/2a3af36e9525e8792e7c0a17a3311afa 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
inputParser = | |
string("Send") | string("Receive") >-> verb { | |
eurParser >-> money { | |
bankAddress >-> addr { | |
pure Transaction.new(verb, money).to(addr) | |
}}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment