unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* bug#17703: (ice-9 curried-definitions) is missing define*-public
@ 2014-06-05 15:29 David Kastrup
  2014-07-31 15:15 ` Ian Price
  0 siblings, 1 reply; 2+ messages in thread
From: David Kastrup @ 2014-06-05 15:29 UTC (permalink / raw)
  To: 17703

[-- Attachment #1: Type: text/plain, Size: 26 bytes --]


The following bombs out:

[-- Attachment #2: bug13.scm --]
[-- Type: text/plain, Size: 171 bytes --]

(use-modules (ice-9 optargs) (ice-9 curried-definitions))
(define*-public
  ((styled-metronome-markup #:optional (glyph-font 'default))
   event context)
  "What a mess")

[-- Attachment #3: Type: text/plain, Size: 2856 bytes --]


The error message is rather flowery:

;;; note: source file /tmp/bug13.scm
;;;       newer than compiled /usr/local/tmp/guile/cache/guile/ccache/2.2-LE-4-3.6/tmp/bug13.scm.go
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;;       or pass the --no-auto-compile argument to disable.
;;; compiling /tmp/bug13.scm
;;; WARNING: compilation of /tmp/bug13.scm failed:
;;; ERROR: Syntax error:
;;; /tmp/bug13.scm:2:0: source expression failed to match any pattern in form (define (styled-metronome-markup #:optional (glyph-font (quote default))) (lambda* (event context) "What a mess"))
ice-9/psyntax.scm:1081:18: In procedure #(#(#(#<variable 996aff0 value: #<procedure 996c980 at ice-9/psyntax.scm:288:10 ()>> #(#<procedure expand-sequence (body r w s mod)> #-1# (#<variable 996afe8 value: #<fluid 14>> . #<variable 996aff0 value: #<procedure 996c980 at ice-9/psyntax.scm:288:10 ()>>)) (#<variable 996afe8 value: #<fluid 14>> . #<variable 996aff0 value: #<procedure 996c980 at ice-9/psyntax.scm:288:10 ()>>)) #<variable 996aff0 value: #<procedure 996c980 at ice-9/psyntax.scm:288:10 ()>> (#<variable 996afe8 value: #<fluid 14>> . #<variable 996aff0 value: #<procedure 996c980 at ice-9/psyntax.scm:288:10 ()>>) #(#<procedure expand-sequence (body r w s mod)> #(#<variable 996aff0 value: #<procedure 996c980 at ice-9/psyntax.scm:288:10 ()>> #-1# (#<variable 996afe8 value: #<fluid 14>> . #<variable 996aff0 value: #<procedure 996c980 at ice-9/psyntax.scm:288:10 ()>>)) (#<variable 996afe8 value: #<fluid 14>> . #<variable 996aff0 value: #<procedure 996c980 at ice-9/psyntax.scm:288:10 ()>>))) #(#<variable 996aff0 value: #<procedure 996c980 at ice-9/psyntax.scm:288:10 ()>> #(#<procedure expand-sequence (body r w s mod)> #-1# (#<variable 996afe8 value: #<fluid 14>> . #<variable 996aff0 value: #<procedure 996c980 at ice-9/psyntax.scm:288:10 ()>>)) (#<variable 996afe8 value: #<fluid 14>> . #<variable 996aff0 value: #<procedure 996c980 at ice-9/psyntax.scm:288:10 ()>>)) #<variable 996aff0 value: #<procedure 996c980 at ice-9/psyntax.scm:288:10 ()>> #(ribcage () () ()) (#<variable 996afe8 value: #<fluid 14>> . #<variable 996aff0 value: #<procedure 996c980 at ice-9/psyntax.scm:288:10 ()>>) #(#<procedure expand-sequence (body r w s mod)> #(#<variable 996aff0 value: #<procedure 996c980 at ice-9/psyntax.scm:288:10 ()>> #-1# (#<variable 996afe8 value: #<fluid 14>> . #<variable 996aff0 value: #<procedure 996c980 at ice-9/psyntax.scm:288:10 ()>>)) (#<variable 996afe8 value: #<fluid 14>> . #<variable 996aff0 value: #<procedure 996c980 at ice-9/psyntax.scm:288:10 ()>>))):
ice-9/psyntax.scm:1081:18: Syntax error:
/tmp/bug13.scm:2:0: source expression failed to match any pattern in form (define (styled-metronome-markup #:optional (glyph-font (quote default))) (lambda* (event context) "What a mess"))


-- 
David Kastrup

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

* bug#17703: (ice-9 curried-definitions) is missing define*-public
  2014-06-05 15:29 bug#17703: (ice-9 curried-definitions) is missing define*-public David Kastrup
@ 2014-07-31 15:15 ` Ian Price
  0 siblings, 0 replies; 2+ messages in thread
From: Ian Price @ 2014-07-31 15:15 UTC (permalink / raw)
  To: David Kastrup; +Cc: 17703-done, 17703


I don't get that much output on a recent guile, FWIW. I've added
define*-public to (ice-9 curried-definitions). Closing this, thanks.

-- 
Ian Price -- shift-reset.com

"Programming is like pinball. The reward for doing it well is
the opportunity to do it again" - from "The Wizardy Compiled"





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

end of thread, other threads:[~2014-07-31 15:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-05 15:29 bug#17703: (ice-9 curried-definitions) is missing define*-public David Kastrup
2014-07-31 15:15 ` Ian Price

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).