-
The code that makes the "config" file should probably ask the user for input. Here's the script I'm imagining; I'll do it this weekend if this is agreeable to everyone.
```
NOTICE: No config file, tr…
-
### Description
Legacy SML-NJ builds and works on Darwin PowerPC; it is desirable to have it supported in the new SML-NJ too. I understand that testing may be problematic, so passive support is perfe…
-
If you enter this program, TES highlights the indicated spot:
datatype t = A | B | C;
fun f x = case x 1 2 3 4 5 6 7
of (A) = 1
| (B) = 2
(\* ^^^ *)
…
-
According to the documentation for OS.FileSys.tmpName, it should create a new temporary file:
> This creates a new empty file with a unique name and returns the full pathname of the file. The named f…
-
I'd like interactive Successor ML implementations to expose their name as a standardized global constant:
``` sml
val topLevelName : unit -> string
```
This way, it would be easier to work around di…
-
### Version
110.99.5 (Latest)
### Operating System
- [X] Any
- [ ] Linux
- [ ] macOS
- [ ] Windows
- [ ] Other Unix
### OS Version
_No response_
### Processor
- [X] Any
- [ ]…
-
### Description
In SML/NJ, the standard method for creating a back-reference in a data structure is to use a `ref`.
(* OCaml *)
type t = T of { parent : t; data : int }
let rec root …
-
Do I need to configure anything?
```
~/git-repos/MLPolyR|master λ> ./mlpolyrc Tests/alloc.mlpr
Assembler messages:
Fatal error: invalid listing option `r'
~/Downloads/sml-nj-110.87/bin/sml: co…
-
This thread started as an [SML Basis Library issue](https://github.com/SMLFamily/BasisLibrary/issues/7), but it probably should be here.
The question is where to allow underscores in numeric literals…
-
SML/NJ understands this:
```sml
datatype Entry =
e_val of string*Clos
| e_gen of string*int
withtype Env = Entry list
and Clos = Tm*Env
```
MLton 20210117 (latest on homebrew) gives this…