SML Code Completion Specialist
Budget: $30 – $250 USD
I'm in urgent need of an expert SML code writer to implement an auto code-completion feature for my project.
Key Responsibilities:
- Develop and integrate the code completion functionality into the existing system.
Ideal Candidate:
- High proficiency in SML programming language.
- Extensive experience in implementing coding functionalities with code completion as a key focus.
Please note: The completion feature should not incorporate chatgpt. Your main task will be to ensure intelligent suggestions without the use of chatgpt.
Looking forward to working with a dedicated professional who can effectively deliver this requirement.
my requirement :--
Matrices can be represented by a list of rows in SML, where each row is represented by a list
of the elements (going left to right). A square matrix is one where the number of rows is the
same as the number of columns.
(a) Define a function is_sqmatrix which takes a list of lists as input and checks whether it
represents a square matrix.
(b) Define a function diagonal that takes a square matrix and returns its diagonal. You
need not consider the case where the input list does not represent a square matrix.
For instance,
- is_sqmatrix;
val it = fn : ’a list list -> bool
- diagonal;
val it = fn : ’a list list -> ’a list
- is_sqmatrix [[1,3], [2,4,5]];
val it = false : bool
- is_sqmatrix [[1,3], [2,4]];
val it = true : bool
- is_sqmatrix [[1,3,4], [2,4,5]];
val it = false : bool
- is_sqmatrix [[1,3,4], [2,4,5], [3,5,6]];
val it = true : bool
- diagonal [["a"]];
val it = ["a"] : string list
- diagonal [[1,3], [2,4]];
val it = [1,4] : int list
- diagonal [[1,3,4], [2,4,5], [3,5,6]];
val it = [1,4,6] : int list
Both functions should be in the same file, named “......”. You need not
consider the case where the matrix is empty or where any row is empty
Key Responsibilities:
- Develop and integrate the code completion functionality into the existing system.
Ideal Candidate:
- High proficiency in SML programming language.
- Extensive experience in implementing coding functionalities with code completion as a key focus.
Please note: The completion feature should not incorporate chatgpt. Your main task will be to ensure intelligent suggestions without the use of chatgpt.
Looking forward to working with a dedicated professional who can effectively deliver this requirement.
my requirement :--
Matrices can be represented by a list of rows in SML, where each row is represented by a list
of the elements (going left to right). A square matrix is one where the number of rows is the
same as the number of columns.
(a) Define a function is_sqmatrix which takes a list of lists as input and checks whether it
represents a square matrix.
(b) Define a function diagonal that takes a square matrix and returns its diagonal. You
need not consider the case where the input list does not represent a square matrix.
For instance,
- is_sqmatrix;
val it = fn : ’a list list -> bool
- diagonal;
val it = fn : ’a list list -> ’a list
- is_sqmatrix [[1,3], [2,4,5]];
val it = false : bool
- is_sqmatrix [[1,3], [2,4]];
val it = true : bool
- is_sqmatrix [[1,3,4], [2,4,5]];
val it = false : bool
- is_sqmatrix [[1,3,4], [2,4,5], [3,5,6]];
val it = true : bool
- diagonal [["a"]];
val it = ["a"] : string list
- diagonal [[1,3], [2,4]];
val it = [1,4] : int list
- diagonal [[1,3,4], [2,4,5], [3,5,6]];
val it = [1,4,6] : int list
Both functions should be in the same file, named “......”. You need not
consider the case where the matrix is empty or where any row is empty