Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (defn prompt
- [msg]
- (print (str msg " "))
- (flush)
- (read-line))
- (defn prompt-int
- [msg]
- (try
- (Integer. (prompt msg))
- (catch Exception e (prompt-int msg
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement