DORSETRIGS
Home

sml (3 post)


posts by category not found!

How can I assign user defined sml datatypes to have a integer (as string) datatype?

Mapping Strings to Integers in SML A Practical Guide Problem You re working with SML and need to represent integers as strings within your custom datatypes How

2 min read 05-10-2024 49
How can I assign user defined sml datatypes to have a integer (as string) datatype?
How can I assign user defined sml datatypes to have a integer (as string) datatype?

Can we get the reference denoted by a variable in SML?

Understanding References in SML Beyond the Value SML Standard ML is known for its strong typing and functional nature which sometimes leads to confusion about h

2 min read 05-09-2024 56
Can we get the reference denoted by a variable in SML?
Can we get the reference denoted by a variable in SML?

Why does `a` in `a :: nil` represent a list of length 1?

Unpacking the Mystery of a nil in SML When working with lists in Standard ML SML you might encounter the pattern a nil This pattern while seemingly simple can r

2 min read 05-09-2024 49
Why does `a` in `a :: nil` represent a list of length 1?
Why does `a` in `a :: nil` represent a list of length 1?