summaryrefslogtreecommitdiff
path: root/libstd/search.myr
diff options
context:
space:
mode:
Diffstat (limited to 'libstd/search.myr')
-rw-r--r--libstd/search.myr2
1 files changed, 2 insertions, 0 deletions
diff --git a/libstd/search.myr b/libstd/search.myr
index 54deb21..26b9870 100644
--- a/libstd/search.myr
+++ b/libstd/search.myr
@@ -15,6 +15,8 @@ generic lsearch = {sl, val, cmp
match cmp(sl[i], val)
| `Equal:
-> `Some i
+ | _:
+ /* nothing */
;;
;;
-> `None