Re: Haskell and Maple FFI

2004-09-20 Thread Rafael Martinez Torres
Making it possible to call Maple would be very cool. Can you give more detail about Open Maple? Description OpenMaple is a suite of functions that allows you to access Maple algorithms and data structures in your compiled C program. This is the reverse of ExternalCalling, which allows

Re: Haskell and Maple FFI

2004-09-20 Thread Alastair Reid
Examples ( taken from Open Maple ) ALGEB M_DECL MyStats( MKernelVector kv, ALGEB *args ) { ALGEB mean, sd, f; if( 1 != MapleNumArgs(kv,(ALGEB)args) ) { MapleRaiseError(kv,one argument expected); return( NULL ); } ... /*