Assignment on SML programming language
Write a recursive ML function that uses pattern matching with name/type
optconcat : char option list -> string
that inputs a list of char options, and returns a single string consisting of all characters on the list concatenated together while ignoring any instances of NONE. For example,
– optconcat([SOME #”b”,NONE,SOME #”o”,SOME #”o”,NONE]);
val it = “boo” : string
– optconcat([NONE,NONE]);
val it = “” : string
Programming
We've got everything to become your favourite writing service
Money back guarantee
Your money is safe. If we fail to satisfy your expectations, you can always request a refund and get your money back.
Confidentiality
We don’t share your private information with anyone. What happens on our website stays on our website.
Our service is legit
We provide you with a sample paper on the topic you need, and this kind of academic assistance is perfectly legitimate.
Get a plagiarism-free paper
We check every paper with our plagiarism-detection software, so you get a unique paper written for your particular purposes.
We can help with urgent tasks
Need a paper tomorrow? We can write it even while you’re sleeping. Place an order now and get your paper in 8 hours.
Pay a fair price
Our prices depend on urgency and level of study. If you want a cheap essay, place your order with as much time as possible. Our prices start from $11 per page.