
19 Apr
2011
19 Apr
'11
3:28 p.m.
You can think of IO actions as values (which don't change) representing imperative programs to execute (which may have different results each time you execute them). So, `fa fb fc` represents the exact same value as `fa fb fc`, but if you execute that value multiple times you may get different results. Here are a couple safe ways to execute IO actions: * From your `main` function * In GHCi (if the value you give it is an action, it *executes* it, otherwise it *prints* it) - Jake