Top "Sml" questions

Standard ML is a high-level functional language with type inference.

Haskell or Standard ML for beginners?

I'm going to be teaching a lower-division course in discrete structures. I have selected the text book Discrete Structures, Logic, …

haskell functional-programming sml discrete-mathematics
How to print variable in sml?

I'm new to SML and in debugging I usually print out the variable to see if it matches up to …

sml smlnj
ML IDE and Compiler for Windows or Linux or Mac

I have to write some code in ML and it is my first time I`m going to use the …

ide compiler-construction programming-languages sml ml
elseif statement in Standard ML?

Im doing a homework problem to make a function sumOdd to computer the sum of the first n odd integers, …

sml smlnj
Line Comments in Standard ML

I'm learning ML, with the SML/NJ dialect. What I'm trying to figure out is if there is a line …

sml smlnj
how do I add a line break in a string?

The question is in the title. If I do this in the REPL (SML/NJ in windows commandline) val x = "…

string line-breaks sml read-eval-print-loop
Case Statements and Pattern Matching

I'm coding in SML for an assignment and I've done a few practice problems and I feel like I'm missing …

functional-programming pattern-matching case sml
How do you print inside a case statement in SML?

I'm just starting out with SML, and I'm trying to modify some code so I understand what it's doing (I …

sml smlnj
How to use AND operator in IF statements in SML

I am new to SML. How do I use the AND operator inside IF statements? Here is my code: val …

sml smlnj ml