For whatever's worth, here's a simple reproduction case with 2 files
of ~25 lines each

http://dl.dropbox.com/u/2785146/repro.tar.gz

To reproduce:

untar that file anywhere, then

$ cd repro; racket

Welcome to Racket v5.0.1.
> (require "posts.rkt")
> (define posts (load-posts "posts"))
> (part->xexpr (first posts))
'(div
  (div ((class "part-title")) (h1 "This is a new title"))
  (p "There would be some blocks here"))
>

(This worked. However,)

$ cd repro; racket serve.rkt

should fail with the contract exception.

Thanks again,
-carlos

On Sat, Nov 6, 2010 at 2:06 PM, Carlos Scheidegger
<carlos.scheideg...@gmail.com> wrote:
> Hi,
>
> This must be a simple question, but I'm having some trouble convincing
> Racket that one of my procedure calls respects the required contract,
> and I'm not quite sure how to solve it.
_________________________________________________
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/users

Reply via email to