查看某个标准库函数可以直接在sml里输入
- String.sub
= ;
[autoloading]
[autoloading done]
val it = fn : string * int -> char
- apt install smlnj mlton polyml
运行
- sml、poly 交互
- polyc hello2.sml -o hello2 编译
- sudo add-apt-repository ppa:plt/racket
- sudo apt-get install racket
Run
racket