Simple ML で私が知る限り、タプルは#n
s を介してアクセスされており、以前は動作していましたが、今は動作しません!
私はこの次の行を試しました:
val a =#2 ("one", "2", "three")
しかし、次のエラーが返されます。
first.sml:25.26 Error: syntax error found at EOF
uncaught exception Compile [Compile: "syntax error"]
raised at: ../compiler/Parse/main/smlfile.sml:15.24-15.46
../compiler/TopLevel/interact/evalloop.sml:44.55
../compiler/TopLevel/interact/evalloop.sml:296.17-296.20
-
変!