<div dir="ltr">Hi all,<div> In the Racket 5.3.4, I defined the following predicate</div><div> >(define-predicate A? Procedure)<br></div><div style> </div><div style> and later, I tried using as follow:</div><div style>
>(A? 'a)</div><div style><br></div><div style> But I have the following error:</div><div style> >recursive-contract: contract violation</div><div> >expected: flat-contract?</div><div> >given: #<|chaperone-case->|></div>
<div><br></div><div>BTW, in this version, Is it possible to define predicate with a specific function?</div><div style>(define-type A (Boolean -> Boolean))</div><div>(define-predicate A? A)<br clear="all"><div><br></div>
</div><div style>Best,</div><div style>Paul</div></div>