You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Test.select = function($p1){
return new Fay$$$(function(){
return new Fay$$Monad($($p1));
});
};
The compiler can easily do this instead of the user, just keep track of all types that are EmptyDataDecls (Fay.Compiler.InitialPass) and turn the type into x or Ptr Foo while compiling FFI declarations (Fay.Compiler.FFI).
The text was updated successfully, but these errors were encountered:
currently produces:
This is unnecessary, we know that an EmptyDataDecl won't result in any transcoding. This can be fixed manually by:
The compiler can easily do this instead of the user, just keep track of all types that are EmptyDataDecls (
Fay.Compiler.InitialPass
) and turn the type intox
orPtr Foo
while compiling FFI declarations (Fay.Compiler.FFI
).The text was updated successfully, but these errors were encountered: