Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
irq-1
· 1y ago · 0 comments
shouldn't the check pin example end with 'exit' rather than 'ready'?
.{ Atm.checkPin, Atm.session, Atm.ready } } }),
It was the diagram that made me think this.
Comments
[–]
goless
1y ago
Haha, this is just a demo, written casually, you can change this to exit, and then as you expected, the program will exit directly.
[–]
goless
1y ago
Try modifying it yourself, you will fall in love with this way of programming.