ecwu61@castle.ed.ac.uk (R Renwick) (05/08/91)
I don't know how many Archie owners out there have ever used the port of sml available from Newcastle, but if anyone can solve the following problem, I'd be most grateful. If we have a 3 tuple such as ("fred","jim","shiela") and we want to get the 1st element then #1("fred","jim","shiela") returns "fred", #2 returns "jim" etc. This works fine for the sml I use at uni but the Archie port doesn't like it. I can't remember the exact message it gives, but it's something like "Expecting a Lab in #1 <?> (%,%,%)" If anyone knows why this is, I'd really appreciate them telling me. Cheers, Rik
as@prg.ox.ac.uk (Andrew Stevens) (05/12/91)
Rik, in an earlier posting mentions trouble he's being having with the #<some-number> tuple field accessors in his copy of Edinburgh SML. I've tried the same thing on my (master) copy of the port and it works just fine. The problem - presumably - must be corruption somewhere down the line. Does anyone else have this problem - is the version on the newcastle info server corrupt? Let me know so I can send a new copy to newcastle if this is the case. Andrew Stevens Programmming Research Group JANET: Andrew.Stevens@uk.ac.oxford.prg Oxford University Computing Laboratory INTERNET: Andrew.Stevens@prg.ox.ac.uk 11 Keble Road, Oxford, England UUCP: ...!uunet!mcvax!ukc!ox-prg!as OX1 3QD