python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Recursive Anti-Symmetrical Counter SML
This is an anti-symmetrical recursive function that will take a list of pairs If the list is anti-symmetrical then an empty list will return and if the list is symmetrical it will return only the two ...
jwolf
Votes: 0
Answers: 1
How can I assign user defined sml datatypes to have a integer (as string) datatype?
Very new to sml. My problem is that I'm trying to make my own datatype, but I can not use ints in the naming convention of the items that are appart of the datatype
datatype psu = 350w | 450w | 550w |...
nellyjelly56
Votes: 0
Answers: 1
Symmetric Relation Recursive SML
Define a recursive predicate in ML isRelationSymmetric that accepts a relation r (represented as a list of tuples) and returns true if r is symmetric and false otherwise.
Here is what I have so far.
f...
jwolf
Votes: 0
Answers: 2
Composistion in SML (Discreate Math and Functional Programming)
I need to define a recursive ML function composition that accepts two relations and returns the composition of the two relations. I need to use the thhisIsTheImageOf and createRelationFromImage functi...
jwolf
Votes: 0
Answers: 1