Haskell Diagrams Output without commandline
问题 I have one question: I know how to output svg file with a help of ghc --make Strukturine.hs command in Terminal. As I understood it uses import Diagrams.Backend.SVG.CmdLine . Is it possible somehow load Strukturine.hs file with the help of :load Strukturine.hs in terminal and then just put the name of function for example: strukturine. That function should output a scheme/picture (to svg file). The beginning of Strukturine.hs file looks like this {-# LANGUAGE NoMonomorphismRestriction #-}