[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
irregex-match? & specialize question
From: |
Kon Lovett |
Subject: |
irregex-match? & specialize question |
Date: |
Tue, 24 Mar 2020 10:46:36 -0700 |
= I must be missing something
cat >matches-prob-test.scm <<'HERE'
(import scheme)
(import (chicken irregex))
(define (uses-predicate str)
(and
(string? str)
(irregex-match? '(: "foo") str) ) )
(print "uses-predicate: " (uses-predicate ""))
HERE
csc ./matches-prob-test.scm
./matches-prob-test
#uses-predicate: #f
csc -specialize ./matches-prob-test.scm
./matches-prob-test
#Error: unbound variable: and
- irregex-match? & specialize question,
Kon Lovett <=