For my
GIMP# project I'm trying to create a F# plug-in. In the base class I have a function in C#:
protected abstract IEnumerable<Procedure> ListProcedures() ;
Now I need to override this function in my F# code. What I've got sofar is this:
override x.ListProcedures() : seq<Procedure> =
let procedure = new Procedure()
procedure.MenuPath <- “<Image>/Filters/Generic”
// And now what?
As you can see I'm stuck at the last line. What do I need to return? There's no such thing as a 'yield' statement in F# afaik.
Maurits
Maurits Rijk
Website: http://sourceforge.net/projects/gimp-sharp/
Blog: http://maurits.wordpress.com/