When using SML/NJ library's HTML4 library, how do I convert the Standard ML representation of HTML4 into a string? For example, if I have the HTML re ...
When using SML/NJ library's HTML4 library, how do I convert the Standard ML representation of HTML4 into a string? For example, if I have the HTML re ...
I am attempting to implement a basic 'stress testing' program in MLton and its Concurrent ML implementation, specifically the Monte Carlo Pi test desc ...
I am new to SML and I am having trouble understanding what are arguments and what is being passed to the inner function in this code. Which is mean ...
I would like create a polymorphic function that converts 8,16,32 bit words into 64 bit word. How can I do it? UPDATE1 In the basis library all word ...
I have a code that looks quite like: But I need to print the generic exception message (with exnMessage?). How do I catch the _ exception in order ...
Installed the MLton compiler on Ubuntu (sudo apt-get install mlton) and had no problems (seemingly) with installation. When I try to use it (e.g. "m ...
I have the following SML source file with a trivial function in it: I'm trying to compile it with MLTon using the C backend and look at the generat ...
Can I specialize a type in a signature using types before that type and in the signature? Here is an example: Can I specialize A by the following? ...
I've got a project with many files in it and I want it to work with most popular compilers. Unfortunately, PolyML and SML/NJ require use statements, ...
As explained in the REAL signature, real type defined in SML is not an equality type and hence the following expression does not reduces However, t ...
Horner's rule is used to simplify the process of evaluating a polynomial at specific variable values. https://rosettacode.org/wiki/Horner%27s_rule_for ...
I am trying to set up a workspace for a class, and the professor is mostly familiar with windows systems. I really prefer to do my developing in a Lin ...
I've got an issue with the compilation of a program in Standard ML. This program is working perfectly and compiling perfectly on my local machine. Bu ...
I have the following benchmark which iterates over an array, setting the next entry to one plus the previous entry. If the number gets bigger than a c ...
When I try to compile a program with mlton, I get an error. According to this, that means I should install libgmp3-dev. I've run apt-get install li ...
The only way I could imagine would be using Emscripten, but MLTon has no LLVM backend. Is it possible somehow? ...
According to the MLton documentation: Standard ML requires types to be defined before they are used. [link] Not all implementations enforce thi ...
I'm compiling an SML source file with reference to IntBinarySet using MLton. The code runs well using SML/NJ, however, when compiled using MLton, it c ...