|
|
last edited 10 years ago by test1 |
1 2 3 4 | ||
Editor: test1
Time: 2015/02/12 16:25:49 GMT+0 |
||
Note: |
added:
There is still problem with handling closures, but this problem is
fixed.
There is still problem with handling closures, but this problem is fixed.
Theses functions are right :
Need to set:
)set function compile on
methodea a == select (t +-> t=3,expand (-10..2*a))
methodea 10
Compiling function methodea with type PositiveInteger -> List( Integer)
![]() | (1) |
methodeb a == select (t +-> t=a,expand (-10..20))
methodeb 10
Compiling function methodeb with type PositiveInteger -> List( Integer)
![]() | (2) |
methode1 := a +-> select (t +-> t=3,expand (-10..2*a))
![]() | (3) |
methode1 10
![]() | (4) |
This last function gives me a System error : The variable #:G30... is unbound. I think that the cause is the test a=t
methode2 := a +-> select (t +-> t=a,expand (-10..20))
![]() | (5) |
methode2 10
![]() | (6) |
http://groups.google.at/group/fricas-devel/browse_thread/thread/93331582de7cfd31
for more information