Skip to main content
Filter by
Sorted by
Tagged with
1 vote
1 answer
451 views

Given the datatypes: datatype bunch = One of int | Group of bunch list; datatype 'ex bunch = NIL | One of 'ex | Group of 'ex * 'ex bunch; How can ...
Cory Radcliffe's user avatar
5 votes
3 answers
609 views

All, I want to derive the type expression for the function below in ML: fun f x y z = y (x z) Now I know typing the same would generate the type expression. But I wish to derive these values by hand....
name_masked's user avatar
  • 9,853
5 votes
4 answers
2k views

How does ML perform the type inference in the following function definition: let add a b = a + b Is it like C++ templates where no type-checking is performed until the point of template instantiation ...
Tsubasa Gomamoto's user avatar
1 vote
1 answer
2k views

I have just started to learn SML on my own and get stuck with a question from the tutorial. Let say I have: tree data type datatype node of (tree*int*tree) | null insert function fun insert (...
jjennifer's user avatar
  • 1,335
0 votes
1 answer
213 views

I want to read from file but, when I use inputAll or inputLine, it read only 70 character from each line. how can I read from file without limitation ?
student's user avatar
  • 21
29 votes
6 answers
25k views

I have to write some code in ML and it is my first time I`m going to use the language. Is there any Development Environment for Standard ML? (preferably under Windows). I tried googling but all I ...
Sajad Bahmani's user avatar
25 votes
2 answers
2k views

In Andrew Koenig’s An anecdote about ML type inference, the author uses implementation of merge sort as a learning exercise for ML and is pleased to find an “incorrect” type ...
Greg Bacon's user avatar
  • 141k
5 votes
6 answers
4k views

I'm looking for some kind of "ML for beginners" guide - google has led me to some obscure mailing lists or way-over-my-head texts so far. The problem is, I have zero functional programming experience ...
Toms Mikoss's user avatar
  • 9,547
4 votes
3 answers
1k views

I know I can use Emacs but I haven't used it earlier... are there any other alternatives?? Thanks
StackUnderflow's user avatar
107 votes
2 answers
21k views

What sets the two ML dialects apart?
Nathan's user avatar
  • 1,081
3 votes
3 answers
2k views

I see that the SML/NJ includes a queue structure. I can't figure out how to use it. How do I use the additional libraries provided by SML/NJ?
Joshua's user avatar
  • 26.8k

1
10 11 12 13
14