On Thu, Sep 10, 2009 at 09:25:39AM +1000, Mark Wotton wrote:
should this work?
""" 9:24 ~/projects % cat test.hs module Test where
l = 1000 9:24 ~/projects % jhc -c test.hs jhc -c test.hs jhc 0.7.3 (-n 0.7.2-28 ) Finding Dependencies... Using Ho Cache: '/Users/mwotton/.jhc/cache' Test [test.hs] Typechecking... [1 of 1] Test (.............................................) Compiling... [1 of 1] Test <..................................................> jhc: src/FrontEnd/Representation.hs:98:9-24: No instance nor default method for class operation Data.Binary.put """
That is a known bug, if you add an explicit type signature for 'l' then it will compile just fine. I believe it is related to a bug dealing with defaulting. It is one of my failing regression tests. John -- John Meacham - ⑆repetae.net⑆john⑈ - http://notanumber.net/