On Sep 3, 2006, at 9:56 PM, Erick Tryzelaar wrote:

>
> val flxPty:Company = C (
>  list(
>    D (
>      "R&D",
>      skaller,
>      list(PU tryzelaar, PU percossi, PU tanski)
>    )
>  )
> );

Thanks for the tip!  I updated and rebuilt felix and it parsed  
cleanly.  That is definitely much cleaner syntax.

I have been trying different things to get typecase to "see" the  
constructor of a union, so far not much luck.  For:

typecase[p,e] p e => e endcase a3 = sbu;

this is the best I have:

CLIENT ERROR
[rex] Unexpected typecase [p,e] (p e) => eendcase
In patcalc.flx: line 87, cols 1 to 30
86:
87: typecase[p,e] p e => e endcase a3 = sbu;
     ******************************

If we can get typecase working that should go a long way to solving  
the problem of defining the constructors for tuple, sum, union, etc.  
in Felix.

-Pete

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Felix-language mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/felix-language

Reply via email to