summaryrefslogtreecommitdiff
path: root/libstd/htab.myr
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2014-01-02 22:24:38 -0500
committerOri Bernstein <ori@eigenstate.org>2014-01-02 22:24:38 -0500
commit0fce274714b986665ce6f5f97ac259fa3d7a7c6c (patch)
tree820d0c49b120cdb5a58896810238b5bbb1b86559 /libstd/htab.myr
parent1c1fd2f09c278e2f105abeadc5d5f0d2017c655a (diff)
downloadmc-0fce274714b986665ce6f5f97ac259fa3d7a7c6c.tar.gz
Get parsing hosts file working.
Diffstat (limited to 'libstd/htab.myr')
-rw-r--r--libstd/htab.myr1
1 files changed, 1 insertions, 0 deletions
diff --git a/libstd/htab.myr b/libstd/htab.myr
index df0221f..4016b1c 100644
--- a/libstd/htab.myr
+++ b/libstd/htab.myr
@@ -20,6 +20,7 @@ pkg std =
generic htfree : (ht : htab(@k, @v)# -> void)
generic htput : (ht : htab(@k, @v)#, k : @k, v : @v -> void)
generic htget : (ht : htab(@k, @v)#, k : @k -> option(@v))
+ generic hthas : (ht : htab(@k, @v)#, k : @k -> bool)
generic htkeys : (ht : htab(@k, @v)# -> @k[:])
;;