Hi,
On Wed, Oct 8, 2008 at 2:31 PM, Tobias Bexelius
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> Im trying to overload a multiplication operator for scalars and vectors,
> but keep running into the error message "Functional dependencies
> conflict". What I think is going on is that the dependency check do
2006/11/30, jeff p <[EMAIL PROTECTED]>:
Is the JavaScript embedding in HSPClientside essentially the same as
the embedding explained in Broberg's thesis?
Yes, in principal the core modules are based on the thesis.
Combinators and higher level functions are built on top of these.
/Joel
__
2006/11/29, jeff p <[EMAIL PROTECTED]>:
This seems to contain just what I was looking for. Although I'm not
using HSP, it looks like the HSPClientside library can be used (in
conjunction with Text.XHtml) to generate webpages with embedded
scripts.
It sure should be possible to use HSPClientsi
2006/8/11, Stefan Aeschbacher <[EMAIL PROTECTED]>:
HiI'm trying to understand Monad Transformers. The code below works asexpected but I have the following questions: - why can I use liftIO but not lift in the doSomething function?I will first try to explain why it is not possible to use lift.
Shor
2006/8/9, Pasqualino 'Titto' Assini <[EMAIL PROTECTED]>:
Hi,Those among you who have an interest in AJAX-style web development - that isto say the development of web applications that run entirely into thebrowser environment, calling back to the server back-end only to get raw
data -- will probably
2006/8/6, Joel Björnson <[EMAIL PROTECTED]>:
So far, so good... However, problems arises trying to define the function :
test = toElem myElemYielding the error message : 'No instance for (Show Elem) arising use of `toElem` at ...'
For some reason it seems like the type checker
Hi. I have a type inference related problem which causes me some confusion. The following is a simplified example capturing the key aspects. First of all, consider a data type (here called) Elem and a type class IsElem.
data Elem = Eclass IsElem a where toElem :: a -> Eleminstance IsElem Elem whe
Hi. I came a cross the following phenomena which, at least to me, occurs kind
of awkward. The code below :
data MyData a where
DC1 :: (Show a ) => a -> MyData a
instance Show (MyData a) where
show (DC1 a ) = show a
yields the ghci error :
'Could not deduce (Show a) from the context (Sho
Brian Hulley wrote :
> Possibly you meant to write:
> instance IsFoo a => Class2 a a
> instance Class2 (Bar a) a
Yes, in principle that illustrates the idea.
However I don't see the major difference from constraining the
'a' to the IsFoo class, as in
instance IsFoo a => Class2 (Bar a) a
This
Hi.
I have a question regarding type classes and FunDeps.
Consider the following code :
> class Class2 a b | a -> b
> class IsFoo a
> data Bar a = Bar a
> instance IsFoo a => Class2 a a
> instance IsFoo a => Class2 (Bar a) a
The last two instantiations will yield a 'Functional dependencies conf
10 matches
Mail list logo