"Alasdair McAndrew" <[EMAIL PROTECTED]> writes:

> I'm using Axiom with some cryptography students; at this very early stage we
> are having fun with very simple ciphers (Vigenere, Hill, etc), so we need to
> transfer from a string to a list of integers.
> 
> Here is how to reproduce the bug: on windows Axiom, enter the following tiny
> function:
> 
> str2lst(str)==map(x +-> ord(x)-65,members(str))

I do not have windows, but maybe declaring the types helps:

str2lst(str: String): List Integer==map(x +-> ord(x)-65,members(str))

apart from that: 

* which version of axiom are you using (if you do not know, maybe the banner at
  startup contains some information) ?

* maybe issueing

  )set break break

  before invoking str2lst, and 

  :bt

  works on windows, too? Then one of the gurus might be able to help?


good luck,

Martin



_______________________________________________
Axiom-developer mailing list
Axiom-developer@nongnu.org
http://lists.nongnu.org/mailman/listinfo/axiom-developer

Reply via email to