The inference engine doesn't need this annotation anymore.
original commit: e235c837b0d20538ca4c0fc024c18ddb30ac2ae4
This commit is contained in:
parent
c10334cfb0
commit
c2b7caa66d
|
@ -76,7 +76,7 @@
|
|||
(error "priority queue empty"))))
|
||||
|
||||
(pdefine: (a) (insert [x : a] [p : number] [pq : (priority-queue a)]) : (priority-queue a)
|
||||
(make (heap:insert (#{cons :: (case-lambda (a (list-of a) -> (list-of a)) (number a -> (cons number a)))} p x) (heap pq))))
|
||||
(make (heap:insert (cons p x) (heap pq))))
|
||||
|
||||
;; FIXME -- too many annotations needed on cons
|
||||
(pdefine: (a) (insert* [xs : (list-of a)] [ps : (list-of number)] [pq : (priority-queue a)]) : (priority-queue a)
|
||||
|
|
Loading…
Reference in New Issue
Block a user