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.
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?
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
I\'m trying to turn a string into a char list list and I have the following code: fun linelist file = let
How to declare a function so Listn : \' \' a list -> \' \' a list -> bool, listn xs and ys return true.
I have given : spacegather : string list -> st开发者_运维技巧ring I have to make a function, so it turns the call:
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
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
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
I\'m practicing with SML and I\'m doing a small assignment where we have to implement Church numerals defined as: