Syntactically it's a bit different, but from a modularity POV it is much closer to ML than Swift, Rust or Hack.