Another update from ingydotnet^djgoku
This commit is contained in:
parent
91df62d461
commit
948b86eafa
7604 changed files with 108452 additions and 22726 deletions
|
|
@ -61,12 +61,12 @@ loop{n:nat}
|
|||
//
|
||||
if isneqz(inp)
|
||||
then let
|
||||
val c = inp.head
|
||||
val c = inp.head()
|
||||
val d =
|
||||
(case- c of '+' => P | '0' => Z | '-' => N): btd
|
||||
// end of [val]
|
||||
in
|
||||
loop (inp.tail, list_cons(d, ds))
|
||||
loop (inp.tail(), list_cons(d, ds))
|
||||
end // end of [then]
|
||||
else ds // end of [else]
|
||||
//
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue