On Thu, Feb 5, 2015 at 6:42 PM, Peter Simons <simons@cryp.to> wrote:
This announcement left me totally amazed at the realization that neither
"runhaskell" nor "ghci" seem to have a command-line option equivalent to
"-c" in Bourne shell.

ghc -e. (Similarly ghci and runghc are really custom invocations of ghc.)

--
brandon s allbery kf8nh                               sine nomine associates
allbery.b@gmail.com                                  ballbery@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net