Skip to content
Adam Bliss edited this page Oct 25, 2013 · 1 revision

Implementation

++  dor                                                 ::  d-order
  ~/  %dor
  |=  [a=* b=*]
  ^-  ?
  ?:  =(a b)
    &
  ?.  ?=(@ a)
    ?.  ?=(@ b)
      ?:  =(-.a -.b)
        $(a +.a, b +.b)
      $(a -.a, b -.a)
    |
  ?.  ?=(@ b)
    &
  (lth a b)

Comments



Parts of this document are generated automatically. Edits within the comments section will be preserved.

Clone this wiki locally