[ghci] Comparison with Hugs

Marcin 'Qrczak' Kowalczyk qrczak@knm.org.pl
24 Apr 2001 15:07:50 GMT

Tue, 24 Apr 2001 16:19:21 +0200, Volker Stolz <stolz@I2.Informatik.RWTH-Aachen.DE> pisze:

> ghci however will complain that "main" is missing and even won't keep
> the defined functions in scope. Is there anything I can do about that?

Add 'module Foo where' at the top of the file (preferably with the
module name matching the filename).

 __("<  Marcin Kowalczyk * qrczak@knm.org.pl http://qrczak.ids.net.pl/
  ^^                      SYGNATURA ZASTĘPCZA