pufuwozu/roy — Issue #63: Remove top-level expressions
Author: eegg
Created: 2011-12-07 14:57:26+00:00
State: open

Roy currently allows expressions, eg. console.log, at the top level of a module. This is lax and un-functional. Expressions should be restricted to inside functions (and at some point hopefully within an IO monad). A single main function should be allowed per module.