t5.sh: Compile and run t5.hs to demonstrate nhc98 errors t5.sh: NHC98="/home/tn/tn/install/nhc98-1.16/bin/nhc98" t5.sh: HUGS="/usr/bin/hugs" t5.sh: The /home/tn/tn/install/nhc98-1.16/bin/nhc98 version /home/tn/tn/install/nhc98-1.16/bin/nhc98: v1.16 (2003-03-08) [ config: ix86-Linux/ by tn@localhost.localdomain on 26 Nov 2003 ] t5.sh: Compile t5.hs t5.sh: Execute t5 with heap 2750 expect segmentation fault t5.sh: line 32: 9544 Segmentation fault ./t5 +RTS -H$HEAP -RTS t5.sh: Execute t5 with heap 2850 expect bad result t5: 2003-Dec-03 23.28 t5: (1,"ECNonzero{ecx=10056118526409282227882113625406169321030314134537061289008231480722376351167320974760949454696077000460638009104751975093078356864233612608605123134717095633649184435611052285743401188397677859013856366538443238627713037970249046070229764333151555543706711933058199402566552830997211831839253950321094359,ecy=9212105258012566741306296285235372378677460900634096020691184526927905553403}") t5.sh: Execute t5 with heap 100000 expect OK result t5: 2003-Dec-03 23.28 t5: (1,"ECNonzero{ecx=1385648967195669950544729455662170485948476705396552044230404978515828326843,ecy=9212105258012566741306296285235372378677460900634096020691184526927905553403}") t5.sh: Verify t5.hs using hugs __ __ __ __ ____ ___ _________________________________________ || || || || || || ||__ Hugs 98: Based on the Haskell 98 standard ||___|| ||__|| ||__|| __|| Copyright (c) 1994-2002 ||---|| ___|| World Wide Web: http://haskell.org/hugs || || Report bugs to: hugs-bugs@haskell.org || || Version: November 2002 _________________________________________ Haskell 98 mode: Restart with command line option -98 to enable extensions Reading file "/usr/lib/hugs/lib/Prelude.hs": Parsing       Dependency analysis                   Type checking             Compiling         Reading file "t5.hs": Parsing       Dependency analysis                   Type checking             Compiling          Hugs session for: /usr/lib/hugs/lib/Prelude.hs t5.hs Type :? for help Main> t5: 2003-Dec-03 23.28 t5: (1,"ECNonzero{ecx=1385648967195669950544729455662170485948476705396552044230404978515828326843,ecy=9212105258012566741306296285235372378677460900634096020691184526927905553403}") Main> [Leaving Hugs] t5.sh: Ended