bjorkint0sh has quit [Ping timeout: 276 seconds]
bjorkintosh has joined #picolisp
_whitelogger has joined #picolisp
bjorkintosh has quit [Ping timeout: 276 seconds]
bjorkintosh has joined #picolisp
_whitelogger has joined #picolisp
ygrek has joined #picolisp
ygrek has quit [Remote host closed the connection]
<
abu[7]>
tankf33der: Which function fails in the tests?
<
abu[7]>
'permute'?
<
tankf33der>
this one
<
abu[7]>
It is correct that it fails. 'permute' was changed
<
abu[7]>
It needs a fun arg
<
tankf33der>
uuuuu. ok
<
abu[7]>
You can change to:
<
abu[7]>
(min (make (simul~permute (chop 123) link)))
<
abu[7]>
('min' also changed)
<
tankf33der>
this one second fail
<
tankf33der>
Revert to 20 instead of 21 bits from 'hash'
<
abu[7]>
Changed from 16 to 21, then back to 20
<
tankf33der>
it is ok. Tests are made for this. This is their fateю
<
tankf33der>
it is ok. Tests are made for this. This is their fate.
<
abu[7]>
I also fixed the built-in tests in those cases
<
abu[7]>
I did not know you test these functions again
<
abu[7]>
Wait, my permute example is wrong
<
abu[7]>
(format (min (make (simul~permute (chop 34544534) '((L) (link (copy L)))))))
<
abu[7]>
Since 25.5.21 'min' and 'max' also accept a single list argument
<
abu[7]>
(mini prog Lst) now is (min List)
<
abu[7]>
I needed to change 'permute', because the old one was quite useless
<
abu[7]>
Who created too big lists
<
abu[7]>
It created too big lists
<
abu[7]>
With the function argument we have much better control
<
tankf33der>
abu[7]: fixing tests
<
tankf33der>
this is next one:
<
abu[7]>
Where is the namespace 'frac' defined?
<
tankf33der>
i just did load @lib/frac.l
<
tankf33der>
abu[7]: always worked
<
tankf33der>
before
<
abu[7]>
Namespaces were always file-local
<
tankf33der>
how it worked in pil21 before!? :)
<
abu[7]>
Since 25.2.27 you
*can* export a namespace with 'T' argument
<
abu[7]>
but frac.l doesn't
<
abu[7]>
is as ever ;)
<
tankf33der>
for example these tests works.
<
tankf33der>
tests.l loads all these files one by one
<
abu[7]>
(frac~f should work
<
abu[7]>
ns specifier
<
tankf33der>
maybe i was wrong.
<
tankf33der>
playing around.
<
abu[7]>
: (load "@lib/frac.l")
<
abu[7]>
: frac~lcm
<
abu[7]>
-> ((A B) (*/ A B ("gcd" A B)))
<
tankf33der>
was wrong line
<
tankf33der>
this one is correct
<
tankf33der>
permute again
bjorkintosh has quit [Quit: "Every day, computers are making people easier to use." David Temkin]
bjorkintosh has joined #picolisp
bjorkintosh has joined #picolisp
bjorkintosh has quit [Changing host]
beneroth_ has quit [Quit: Leaving]