Fixes type of (member), see github bug #223: “(member) has wrong type, exploiting the hole causes segfault”.
This commit is contained in:
parent
2479dffde0
commit
d6160a21d6
|
@ -632,9 +632,9 @@
|
|||
[memq (-poly (a) (-> Univ (-lst a) (-opt (-ne-lst a))))]
|
||||
[memv (-poly (a) (-> Univ (-lst a) (-opt (-ne-lst a))))]
|
||||
[memf (-poly (a) ((a . -> . Univ) (-lst a) . -> . (-opt (-ne-lst a))))]
|
||||
[member (-poly (a)
|
||||
[member (-poly (a b)
|
||||
(cl->* (Univ (-lst a) . -> . (-opt (-ne-lst a)))
|
||||
(Univ (-lst a) (-> a a Univ)
|
||||
(b (-lst a) (-> b a Univ)
|
||||
. -> . (-opt (-ne-lst a)))))]
|
||||
[findf (-poly (a) ((a . -> . B) (-lst a) . -> . (-opt a)))]
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user