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

Help on help



Could you please explain how can I use the unit-ized
start-help-desk?

I am probably doing some nonsense, but I try to learn it softly.
First I thought about pulling out of the unit/sig all the 
definitions, using

;============

(define-signature help:drscheme-interface^
  (help-desk))
;;; The doc says: start-help-desk, but there is no such function. 
;;;   The file export.ss  suggests help-desk


(define-values/invoke-unit/sig help:drscheme-interface^
  (require-library "start-help-desk.ss" "help")
  #f
  mzlib:function^
  mzlib:string^
  mzlib:file^
  mzlib:url^
  mred^
  framework^
  [drscheme:frame : drscheme:frame^]
  )

;;; as necessary. I still don't know what is the usage of the first
;;;  argument after (req...). YES, I know that it should be the
;;;  prefix, ("help" or what???) but, anyway, I don't get anywhere 
;;;  with your "cheesy" macro. French cheese is different...

;;; Of course all that is preceded by required-libraries such as
;;;  frame, urls, etc.

; ===========================

The result is invariably:

invoke-unit: cannot link to undefined identifier: drscheme:frame:mixin

This function is used in unit.ss : def. of super-frame%
but this is all I could find out myself. Its definition must be well
hidden, probably the prefix is added dynamically.

Anyway, having together such close names as
frame:basic-mixin and frame:basics-mixin

and frame:basic-mixin% which is documented on a page whose header has
*no* "%", and which apparently does not exist, because it is created
dynamically by the function without "%")...

seeing frame:mixin and not too far from it:  frame-mixin, --


-- all that is difficult to digest, and finally I will shoot myself,
and you will be sorry. 

Thank you.

Jerzy Karczmarczuk
Caen, France