|
|
|
|
|
by hajile
2069 days ago
|
|
Yes and no. They can do the same thing, but with varying amounts of effort. SML has what is essentially a hard coded typeclass for equality with special syntax for it as well (two single quotes instead of one). There can also be issues creating and overloading operators. There's still ongoing discussion about modular typeclasses for SuccessorML Here's some info if you're interested. https://www.cs.cmu.edu/~rwh/papers/mtc/short.pdf |
|