Hi Parisa,
I just confirmed that the closure case study still works with the latest version of SugarJ.
Looking at your screenshot, it seems you try import the closure extension via the wildcard import “org.sugarj.example.*”. There are two problems with this import.
1) SugarJ does not support wildcard imports of language extensions. You need to import the extension explicitly:
import javaclosure.Syntax;
import javaclosure.Transformation;
2) The package “org.sugarj” is protected and cannot be used for user-defined code. You need to put the extension definition in another package that does not start with “org.sugarj”.
Does that help?
Sebastian
> Best regards
>
> Parisa
>
>
> --
>
> ---
> You received this message because you are subscribed to the Google Groups "SugarJ" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
sugarj+un...@googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.