chicken-janitors
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-janitors] Re: #487: matchable: crash matching a symbol when a p


From: Chicken Trac
Subject: [Chicken-janitors] Re: #487: matchable: crash matching a symbol when a production contains |...|
Date: Mon, 24 Jan 2011 18:16:23 -0000

#487: matchable: crash matching a symbol when a production contains |...|
-------------------------+--------------------------------------------------
  Reporter:  alanpost    |       Owner:       
      Type:  defect      |      Status:  new  
  Priority:  major       |   Milestone:  4.7.0
 Component:  extensions  |     Version:  4.6.x
Resolution:              |    Keywords:       
-------------------------+--------------------------------------------------

Comment(by alanpost):

 Replying to [comment:1 felix]:
 > I don't think this is a bug, to be honest. The pattern `(x ... y)` is
 not legal in matchable, AFAIK. In fact, `a' shouldn't match at all, since
 it is not a list, not even a pair.

 That is the only way I know for matchable to match the end of a list.  How
 do you make matchable match "a list ending in x, y, and z"?  It seems like
 the ... operator is doing just that, and it that isn't legal what does one
 use instead?

-- 
Ticket URL: <http://bugs.call-cc.org/ticket/487#comment:2>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]