Skip to main content

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
1 answer
128 views

IMAP client impementation on State Machine boost-ext/sml

I made IMAP(IMAPS) notifier on boost-ext/sml state machine. There is an opinion that networking is best done on machines. Compile in C++20. Tested on GMail server. Uses karastojko/mailio (and ...
Alexovsky's user avatar
4 votes
1 answer
1k 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 ...
James Jensen's user avatar
7 votes
1 answer
616 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: A ...
Tae's user avatar
  • 255