]> gitweb.factorcode.org Git - factor.git/commitdiff
change literal string throw to ERROR:
authorDoug Coleman <doug.coleman@gmail.com>
Fri, 29 Aug 2008 05:34:22 +0000 (00:34 -0500)
committerDoug Coleman <doug.coleman@gmail.com>
Fri, 29 Aug 2008 05:34:22 +0000 (00:34 -0500)
basis/biassocs/biassocs.factor

index cd1e57f6ecca152559fa881ecfabc6666267f045..a9f0cabd1036f5cdcc76edf3dc251ac157da140f 100644 (file)
@@ -1,6 +1,6 @@
 ! Copyright (C) 2008 Slava Pestov.
 ! See http://factorcode.org/license.txt for BSD license.
-USING: kernel assocs accessors ;
+USING: kernel assocs accessors summary ;
 IN: biassocs
 
 TUPLE: biassoc from to ;
@@ -23,8 +23,13 @@ M: biassoc value-at* to>> at* ;
 M: biassoc set-at
     [ from>> set-at ] [ swapd to>> once-at ] 3bi ;
 
+ERROR: no-biassoc-deletion ;
+
+M: no-biassoc-deletion summary
+    drop "biassocs do not support deletion" ;
+
 M: biassoc delete-at
-    "biassocs do not support deletion" throw ;
+    no-biassoc-deletion ;
 
 M: biassoc >alist
     from>> >alist ;