Questions tagged [sml]
Standard ML is a high-level functional language with type inference and a sophisticated module system.
3 questions
3
votes
1
answer
165
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 ...
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 integer ...
7
votes
1
answer
651
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 ...