Questions tagged [sml]

Standard ML is a high-level functional language with type inference and a sophisticated module system.

Filter by
Sorted by
Tagged with
3
votes
1answer
552 views

Prime number sieve in Standard ML

As practice, I have written a prime number sieve in Standard ML. It works in a pretty straightforward way: The list of known primes starts with just 2. Starting with 3, check whether each odd ...
5
votes
1answer
269 views

Porting Haskell list comprehensions to Standard ML

Out of curiosity I'm porting the Haskell exercises of Programming in Haskell by Graham Hutton to Standard ML. At the beginning everything seemed pretty similar until I reached list comprehensions: ...