[Haskell-cafe] different results after compilation

Комар Максим mk at mtw.ru
Wed Aug 24 14:45:19 CEST 2011


I have some script:
$ runhaskell readfile.hs 
fromList [(Merchant {nick = "01010", location = "prontera", x = 184, y
= 94},Shop {buy = ShopBuy {titleB = "AB> Green Salad=5k", itemsB =
fromList [(Item {itemId = 12065, price = 5000, refine = "", card1 = 0,
card2 = 0, card3 = 0, card4 = 0},(100,97))]}, sell = ShopSell {titleS =
"", itemsS = fromList []}})] 
$ ghc --make readfile.hs 
 Linking readfile ... 
$ ./readfile 
$

why results are different?



More information about the Haskell-Cafe mailing list