
In theory, the dictionaries passed to functions could always be passed by value. -fdicts-strict is supposed to make this happen, which should make overloaded programs a bit more efficient. I don't think it's ever been tested, though, so I'm not surprised it doesn't work properly. If you can make a reasonably small program that demonstrates the failure I'd be happy to look at it. Simon | -----Original Message----- | From: glasgow-haskell-users-admin@haskell.org [mailto:glasgow-haskell-users-admin@haskell.org] | On Behalf Of Johannes Waldmann | Sent: 11 July 2003 14:38 | To: glasgow-haskell-users@haskell.org | Subject: -fdicts-strict ? | | what exactly happens when ghc applies `-fdicts-strict' ? | | and what could then be the reason for | | Fail: Oops! Entered absent arg w_s1Bjs {GHCziBase.Ord {- tc 2c -} c {- tv a1AVd -}} | | when executing the compiled program? | | best regards, | -- | -- Johannes Waldmann ---- http://www.informatik.uni-leipzig.de/~joe/ -- | -- joe@informatik.uni-leipzig.de -- phone/fax (+49) 341 9732 204/209 -- | | _______________________________________________ | Glasgow-haskell-users mailing list | Glasgow-haskell-users@haskell.org | http://www.haskell.org/mailman/listinfo/glasgow-haskell-users