> > I tried to run fxc on the Catch Up demo, and got this error:
> > fxc: src/Flapjax/HtmlEmbedding.hs:25:9-22: No instance nor default
> > method for class operation BrownPLT.Html.Syntax.prettyPrintScript
> It looks like a compile-time error. What compiler and environment do
> you use?
> You can use the lovely "cabal install" command to spare yourself the
> effort; works flawlessly fine here on Arch.
> Cheers,
> Artyom Shalkhakov.
I'm using ghc-6.10.1 on Debian. I did mean to "cabal install" flapjax,
but it's not on Hackage yet. So what I did was git clone flapjax, cd
compiler, and ran "cabal install" from that directory. There was a
warning while compiling Flapjax.HtmlEmbedding:
src/Flapjax/HtmlEmbedding.hs:25:9:
Warning: No explicit method nor default method for
`BrownPLT.Html.Syntax.prettyPrintScript'
In the instance declaration for `Script Flapjax'
I'm wondering if I ran fxc the wrong way. "fxc --help" didn't give
much helpful information.
> I'm using ghc-6.10.1 on Debian. I did mean to "cabal install" flapjax, > but it's not on Hackage yet.
Oops, I meant WebBits when I said about Flapjax compiler, sorry.
> So what I did was git clone flapjax, cd > compiler, and ran "cabal install" from that directory. There was a > warning while compiling Flapjax.HtmlEmbedding:
> src/Flapjax/HtmlEmbedding.hs:25:9: > Warning: No explicit method nor default method for > `BrownPLT.Html.Syntax.prettyPrintScript' > In the instance declaration for `Script Flapjax'
This warning says what it says. :) I suppose there's nothing wrong with unimplemented class method if it's not used anywhere (which seems to be the case).
> > I'm using ghc-6.10.1 on Debian. I did mean to "cabal install" flapjax,
> > but it's not on Hackage yet.
> Oops, I meant WebBits when I said about Flapjax compiler, sorry.
> > So what I did was git clone flapjax, cd
> > compiler, and ran "cabal install" from that directory. There was a
> > warning while compiling Flapjax.HtmlEmbedding:
> > src/Flapjax/HtmlEmbedding.hs:25:9:
> > Warning: No explicit method nor default method for
> > `BrownPLT.Html.Syntax.prettyPrintScript'
> > In the instance declaration for `Script Flapjax'
> This warning says what it says. :) I suppose there's nothing wrong
> with unimplemented class method if it's not used anywhere (which
> seems to be the case).
On Tue, May 12, 2009 at 13:01, Wei Hu <wei....@gmail.com> wrote:
> Then why am I running into this error at run-time?
> On May 12, 12:58 pm, Artyom Shalkhakov <artyom.shalkha...@gmail.com>
> wrote:
>> 2009/5/12 Wei Hu <wei....@gmail.com>:
>> > I'm using ghc-6.10.1 on Debian. I did mean to "cabal install" flapjax,
>> > but it's not on Hackage yet.
>> Oops, I meant WebBits when I said about Flapjax compiler, sorry.
>> > So what I did was git clone flapjax, cd
>> > compiler, and ran "cabal install" from that directory. There was a
>> > warning while compiling Flapjax.HtmlEmbedding:
>> > src/Flapjax/HtmlEmbedding.hs:25:9:
>> > Warning: No explicit method nor default method for
>> > `BrownPLT.Html.Syntax.prettyPrintScript'
>> > In the instance declaration for `Script Flapjax'
>> This warning says what it says. :) I suppose there's nothing wrong
>> with unimplemented class method if it's not used anywhere (which
>> seems to be the case).
> That is definitely a compile-time warning. My runtime messages are
> not nearly as descriptive.
> While WebBits is on Hackage, the Flapjax compiler itself is not. I
> suppose I might as well put it on Hackage.
> Arjun
> On Tue, May 12, 2009 at 13:01, Wei Hu <wei....@gmail.com> wrote:
> > Then why am I running into this error at run-time?
> > On May 12, 12:58 pm, Artyom Shalkhakov <artyom.shalkha...@gmail.com>
> > wrote:
> >> 2009/5/12 Wei Hu <wei....@gmail.com>:
> >> > I'm using ghc-6.10.1 on Debian. I did mean to "cabal install" flapjax,
> >> > but it's not on Hackage yet.
> >> Oops, I meant WebBits when I said about Flapjax compiler, sorry.
> >> > So what I did was git clone flapjax, cd
> >> > compiler, and ran "cabal install" from that directory. There was a
> >> > warning while compiling Flapjax.HtmlEmbedding:
> >> > src/Flapjax/HtmlEmbedding.hs:25:9:
> >> > Warning: No explicit method nor default method for
> >> > `BrownPLT.Html.Syntax.prettyPrintScript'
> >> > In the instance declaration for `Script Flapjax'
> >> This warning says what it says. :) I suppose there's nothing wrong
> >> with unimplemented class method if it's not used anywhere (which
> >> seems to be the case).