unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* racket
@ 2018-09-11 19:07 Benjamin Slade
  2018-09-12 12:05 ` racket Christopher Lemmer Webber
  2018-09-13 12:35 ` racket 宋文武
  0 siblings, 2 replies; 3+ messages in thread
From: Benjamin Slade @ 2018-09-11 19:07 UTC (permalink / raw)
  To: Guix-Help

When run Racket, in the REPL, the first command I execute runs fine. But
the second (no matter what it is, even if it's just the first again)
always produces:

; ptr-ref: contract violation
;   expected: (and/c cpointer? (not/c (lambda (p) (pointer-equal? p #f))))
;   given: #f
;   argument position: 1st
; [,bt for context]
; ptr-ref: contract violation
;   expected: (and/c cpointer? (not/c (lambda (p) (pointer-equal? p #f))))
;   given: #f
;   argument position: 1st
; [,bt for context]

And it doesn't accept any more input after that point (including ",bt").

-- 
Benjamin Slade - https://babbagefiles.xyz
  `(pgp_fp: ,(21BA 2AE1 28F6 DF36 110A 0E9C A320 BBE8 2B52 EE19))
    '(sent by mu4e on Emacs running under GNU/Linux . https://gnu.org )
       `(Choose Linux ,(Choose Freedom) . https://linux.com )

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: racket
  2018-09-11 19:07 racket Benjamin Slade
@ 2018-09-12 12:05 ` Christopher Lemmer Webber
  2018-09-13 12:35 ` racket 宋文武
  1 sibling, 0 replies; 3+ messages in thread
From: Christopher Lemmer Webber @ 2018-09-12 12:05 UTC (permalink / raw)
  To: Benjamin Slade; +Cc: Guix-Help

Benjamin Slade writes:

> When run Racket, in the REPL, the first command I execute runs fine. But
> the second (no matter what it is, even if it's just the first again)
> always produces:
>
> ; ptr-ref: contract violation
> ;   expected: (and/c cpointer? (not/c (lambda (p) (pointer-equal? p #f))))
> ;   given: #f
> ;   argument position: 1st
> ; [,bt for context]
> ; ptr-ref: contract violation
> ;   expected: (and/c cpointer? (not/c (lambda (p) (pointer-equal? p #f))))
> ;   given: #f
> ;   argument position: 1st
> ; [,bt for context]
>
> And it doesn't accept any more input after that point (including ",bt").

Huh... I'm getting this too.  I hadn't noticed it because I use
racket-mode for all my REPL hacking, where it isn't appearing (probably
because racket-mode has its own REPL protocol code).

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: racket
  2018-09-11 19:07 racket Benjamin Slade
  2018-09-12 12:05 ` racket Christopher Lemmer Webber
@ 2018-09-13 12:35 ` 宋文武
  1 sibling, 0 replies; 3+ messages in thread
From: 宋文武 @ 2018-09-13 12:35 UTC (permalink / raw)
  To: Benjamin Slade; +Cc: Guix-Help

Benjamin Slade <beoram@gmail.com> writes:

> When run Racket, in the REPL, the first command I execute runs fine. But
> the second (no matter what it is, even if it's just the first again)
> always produces:
>
> ; ptr-ref: contract violation
> ;   expected: (and/c cpointer? (not/c (lambda (p) (pointer-equal? p #f))))
> ;   given: #f
> ;   argument position: 1st
> ; [,bt for context]
> ; ptr-ref: contract violation
> ;   expected: (and/c cpointer? (not/c (lambda (p) (pointer-equal? p #f))))
> ;   given: #f
> ;   argument position: 1st
> ; [,bt for context]
>
> And it doesn't accept any more input after that point (including ",bt").

Hello, I fixed it with commit 26700cae.  A 'guix pull' and then install
racket again should work.

Thank you for the report!

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-09-13 12:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-11 19:07 racket Benjamin Slade
2018-09-12 12:05 ` racket Christopher Lemmer Webber
2018-09-13 12:35 ` racket 宋文武

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).