This project is read-only.
1

Resolved

Probably impure behavior

description

From news group:
Hello!
I created several source files (see the attachement) and wrote a test code to test a couple of functions:
//////////
let base = 10
  a = multByScalar base 1 [1,1] //Try to comment
  b = mult 10 [1] [1,1]
in b
//////////
It produces result:
[1,1,1]
When I comment the second line like here:
//////////
let base = 10
   //a = multByScalar base 1 [1,1] //Try to comment
   b = mult 10 [1] [1,1]
in b
//////////
I get another result:
[1,1]
Could you look at this?

Reproducing steps:
  1. Extract the files from the attached archive to ela-platform\lib\
  2. Open bignumSeriesMultiplication.ela in Elide
  3. Execute and check the output
  4. Comment the 21st line
  5. Execute and check the output again
Alexey

file attachments

comments