Fix circularity

db4
Slava Pestov 2008-11-11 11:39:38 -06:00
parent 4c0f2cc3f5
commit fed799a32c
2 changed files with 4 additions and 4 deletions

View File

@ -1,9 +1,12 @@
! Copyright (C) 2004, 2008 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
USING: math kernel math.constants math.private
math.libm combinators math.order math.ratios sequences ;
math.libm combinators math.order sequences ;
IN: math.functions
: >fraction ( a/b -- a b )
[ numerator ] [ denominator ] bi ; inline
<PRIVATE
: (rect>) ( x y -- z )

View File

@ -3,9 +3,6 @@
USING: accessors kernel kernel.private math math.functions math.private ;
IN: math.ratios
: >fraction ( a/b -- a b )
dup numerator swap denominator ; inline
: 2>fraction ( a/b c/d -- a c b d )
[ >fraction ] bi@ swapd ; inline