Because the awt-based definitions were outside of the show! function, they were getting executed at compile time. This posed a problem for my Heroku web app which has dorothy as a dependency; the calls to awt were causing the compilation process to throw an error because there is no graphics environment configured for the cloud environment.
Because the awt-based definitions were outside of the show! function, they were getting executed at compile time. This posed a problem for my Heroku web app which has dorothy as a dependency; the calls to awt were causing the compilation process to throw an error because there is no graphics environment configured for the cloud environment.