Skip to content

Instantly share code, notes, and snippets.

@jckarter
Created September 19, 2011 19:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jckarter/1227286 to your computer and use it in GitHub Desktop.
Save jckarter/1227286 to your computer and use it in GitHub Desktop.
+ methods in factor
( scratchpad ) \ + see-methods
USING: math math.private ;
M: bignum + bignum+ ; inline
USING: math math.complex.private ;
M: complex + [ + ] complex-op ; inline
USING: math math.private ;
M: fixnum + fixnum+ ; inline
USING: math math.private ;
M: float + float+ ; inline
USING: kernel math math.ratios.private ;
M: ratio + [ scale + ] [ ratio+d ] 2bi / ;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment