|
|
|
last edited 10 years ago by test1 |
| 1 2 3 4 | ||
|
Editor: test1
Time: 2015/02/12 16:26:03 GMT+0 |
||
| Note: | ||
added:
From test1 Thu Feb 12 16:26:03 +0000 2015
From: test1
Date: Thu, 12 Feb 2015 16:26:03 +0000
Subject:
Message-ID: <20150212162603+0000@axiom-wiki.newsynthesis.org>
Status: open => closed
There is still problem with handling closures, but this problem is fixed.
Theses functions are right :
Need to set:
(1) -> )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
Status: open => closed