<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><blockquote type="cite"><div><font class="Apple-style-span" color="#000000"><br></font>Try the other way around:<br><br>(truncate (inexact->exact n))<br><br>You have to do it this way because Typed Scheme doesn't know anything<br>about the internal structure of the Float type.</div></blockquote><br></div><div><br></div><div><br></div><div>I will, thanks! And if you really don't mind my frequent questions, I think I'll go on writing this code in typed scheme :-;</div><div><br></div><div>Well in fact, there's something else that troubles me, having read the thread about, among others, the future support for typed scheme - it said something about there being, currently, enough graduate students to work on it... which makes me think "and afterwards"?</div><div>The thing is, would it make sense to use typed scheme for something rather "permanent", that is to be put on Planet, maintained etc.? I'm playing with the thought of using this relational algebra code to implement Chris Date's "Tutorial D" database query language (or rather, some small subset of it). Of course I don't know if I'll manage (I'll have to see how easy or difficult the "parsing" part would be, I'll read the "languages" chapter in the guide for this),- but it would be good to know...</div><div><br></div><div>Ciao,</div><div>Sigrid</div></body></html>