Add idiomatic Neat implementation (based off the D port)