-{numeric, pervasive, withIdentity} = require './vhelpers'
+{numeric, pervasive, real, withIdentity} = require './vhelpers'
 {Complex, complexify, simplify} = require '../complex'
 {DomainError} = require '../errors'
 {APLArray} = require '../array'

  # 0j2÷0j1  <=> 2
  # 5÷2j1    <=> 2j¯1
  # ÷/⍬      <=> 1
  dyad: div = (y, x) ->
    if typeof x is typeof y is 'number'
      x / y
    else
      x = complexify x
      y = complexify y
      d = y.re * y.re + y.im * y.im

  #
  # 3∣5 <=> 2
  # 1j2|3j4 !!!
  dyad: real (y, x) -> y % x
