Skip to Content.
Sympa Menu

mathemagix-devel - [Mathemagix] Bp with postfix

Subject: Mathemagix

List archive

[Mathemagix] Bp with postfix


Chronological Thread 
  • From: Bernard Mourrain <address@concealed>
  • To: address@concealed
  • Subject: [Mathemagix] Bp with postfix
  • Date: Mon, 19 Apr 2010 12:11:06 +0200

Here is a problem in the interpreter:

The following "method" can be define:
postfix .m (a: Int , b: Int) : Double == { return 1.0*a*b }


But it cannot be used ?

5] 3 .m (3)

1:4: exception, invalid function application error (Int.m)
3 .m (3)


Is it a bug ? or what is the correct way to do ?

B.



Archive powered by MHonArc 2.6.18.

Top of Page