sml
Checking the contents of a char list list in sml
My question is like the one here. I\'m working on a char list list and I need to check that 1-9 are used once in every list, but also once in every position in the list.[详细]
2023-01-20 21:55 分类:问答char list list -> bool
Does an开发者_开发知识库yone know how to declarea function rscheck : char list list -> bool , that checks,if the number 1-9 are used once in every row and every list... so it returns true?[详细]
2023-01-20 10:05 分类:问答Find all elements in BST satisfying f using success continuations in SML
I have an assignment to do and I can\'t figure out how to do one question. Here is what I have to do: Write a function which collects all elements in the tree T which satisfies the property p and re[详细]
2023-01-20 07:32 分类:问答Turning a string into a char list list using SML
I\'m trying to turn a string into a char list list and I have the following code: fun linelist file = let[详细]
2023-01-20 04:33 分类:问答Help sml - troubled
How to declare a function so Listn : \' \' a list -> \' \' a list -> bool, listn xs and ys return true. [详细]
2023-01-20 00:46 分类:问答SML - a small problem
I have given : spacegather : string list -> st开发者_运维技巧ring I have to make a function, so it turns the call:[详细]
2023-01-19 21:58 分类:问答Removing and adding nodes to a tree
I have an assignment, and I can\'t figure out what to do about it. I have a tree of people with their name, birth and death year. Think genealogy here. I have a bunch of datatypes to take care of ages[详细]
2023-01-19 20:04 分类:问答Declare a function SML
How to declare a function suffixse开发者_如何学Pythonn : string list -> string list ?After declaring types inside the parens, declare the function\'s return type on the outside with :return-type. At l[详细]
2023-01-19 15:11 分类:问答Checking for equality in lists in SML
i want to write a function that checks for equality of lists in SML for instance : [1,2,3]=[1,2,3]; val it = true : bool[详细]
2023-01-18 13:49 分类:问答How to get predecessor of a church numeral
I\'m practicing with SML and I\'m doing a small assignment where we have to implement Church numerals defined as:[详细]
2023-01-17 12:11 分类:问答