Closed wcbeard closed 10 years ago
I think I have this fixed. I will push up a fix soon. It seems to be due to how the constructors are exported. For example, if we write
module Angular.Scope
( ...
, ApplyExpr()
, ...
) where
We get
Error in foreign import declaration apply
Cannot unify * with # *.
However, if we write
module Angular.Scope
( ...
, ApplyExpr(..)
, ...
) where
It compiles.
When I try querying Angular types in psci, the first query goes alright after compiling, but I get errors after subsequent queries:
(Although it's not complaining about classes, it looks a little similar to purescript/purescript#562)
When I export
, HttpEff()
from Http.pursand
from This.purs and re-compile and try again in psci, it again works on the first try. But when I query the type again, I get
This file has the line
I don't really follow this error. At this point I'm not sure if this is a bug with purescript, purescript-angular, or if I'm just not supposed to be using it in psci?