Re:Writing a JPEG Decoder in Rust – Part 2: Implementation I
by saosebastiao on Friday August 19, 2016 @04:51PM
(#12323372)
A module functor is nothing more than a higher order module...one that takes as a parameter some data structure that conforms to an interface (signature). Rust may not have constructs called module functors, but it definitely has constructs that are capably equivalent, as well as some that are even more powerful (a claim that applies to Scala as well)
For me, type inference, strong typing, and ADTs with pattern matching puts a language into the ML family quite easily.
For me, type inference, strong typing, and ADTs with pattern matching puts a language into the ML family quite easily.