Search
19:18:56
|3b|
hmm, sbcl can't figure out that (rational (the fixnum x)) returns a fixnum? (or similarly for other integral types)
19:21:18
|3b|
optimize speed complains about being unable to optimize things due to being RATIONAL and not INTEGER or whatever
19:38:16
|3b|
hmm, possibly doing a full call to RATIONAL as well
19:38:58
|3b|
(and same for RATIONALIZE)
19:40:49
stassats
|3b|: i will add (deftransforms (rational rationalize) ((x) (rational)) 'x)
19:41:12
|3b|
thanks, that should do it :)
19:41:57
stassats
could also use a derive type, but that requires more thought