Skip to content

Commit

Permalink
Some comments
Browse files Browse the repository at this point in the history
  • Loading branch information
perezzini committed Sep 12, 2017
1 parent 2372edf commit 69e9552
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tigertab.sml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ fun tabEsta(s, t) =
case peek t s of
SOME _ => true
| NONE => false
fun tabInserta(s, e, t) = let val t' = copy t in (peekInsert t' (s, e); t') end
fun tabRInserta(s, e, t) = let val t' = copy t in (insert t' (s, e); t') end
fun tabInserta(s, e, t) = let val t' = copy t in (peekInsert t' (s, e); t') end (* se usa cuando se quiere insertar un par sin importar si la clave existe o no, o si quiero sobreescribir *)
fun tabRInserta(s, e, t) = let val t' = copy t in (insert t' (s, e); t') end (* se debe usar este... R de "reemplaza"*)
fun tabBusca(s, t) = peek t s
fun tabSaca(s, t) =
case tabBusca(s, t) of
Expand Down

0 comments on commit 69e9552

Please sign in to comment.