Skip to content

rurumimic/sml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Standard ML

Example

sml
Standard ML of New Jersey (64-bit) v110.99.1 [built: Mon Apr 12 18:45:14 2021]
- use "./sum.sml";
[opening ./sum.sml]
val sum = fn : int * int -> int
val it = () : unit
- sum (3, 5);
val it = 8 : int
- ^D (* Control + D *)

Install on mac

brew: smlnj

brew install --cask smlnj

To use smlnj, you may need to add the /usr/local/smlnj/bin directory to your PATH environment variable, e.g. (for Bash shell): export PATH=/usr/local/smlnj/bin:"$PATH"

echo 'export PATH=/usr/local/smlnj/bin:"$PATH"' >> ~/.bashrc
# ~/.bash_profile, ~/.zshrc, ~/.zshenv

About

Standard Meta Language

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published