equal
deleted
inserted
replaced
157 (* basis library fixes *) |
157 (* basis library fixes *) |
158 |
158 |
159 structure TextIO = |
159 structure TextIO = |
160 struct |
160 struct |
161 open TextIO; |
161 open TextIO; |
162 |
162 fun inputLine is = TextIO.inputLine is |
163 fun inputLine is = |
|
164 (case TextIO.inputLine is of |
|
165 SOME str => str |
|
166 | NONE => "") |
|
167 handle IO.Io _ => raise Interrupt; |
163 handle IO.Io _ => raise Interrupt; |
168 end; |
164 end; |
169 |
165 |
170 |
166 |
171 (* bounded time execution *) |
167 (* bounded time execution *) |