pocmatos
2018-3-21 09:22:57

Is anyone aware why class* is not available in typed racket? What is the alternative to interface when you move to typed racket?


pocmatos
2018-3-21 09:26:55

Ah ok, I found #:implements in typed racket… that’s probably the answer.


jerome.martin.dev
2018-3-21 20:45:41

I felt asleep thinking about it. I wanted to try this solution the next day. Well, it actually works :wink:


githree
2018-3-21 22:08:00

I am having problem with one of my packages scribble rendering - all my definitions are red underlines and raco setup screams of WARNING: undefined tag in …


githree
2018-3-21 22:08:33

package installs/links correctly I use for label but to no avail


githree
2018-3-21 22:09:14

I am out of ideas - any suggestions?


lexi.lambda
2018-3-21 22:15:04

@githree Maybe you need a defmodule somewhere?


githree
2018-3-21 22:15:22

it is there at the top


githree
2018-3-21 22:17:17

none of my other local packages had this problem, I wouldn’t be surprised if it is something simple


githree
2018-3-21 22:20:52

I tried with package name and relative path, raco setup and Scribble HTML button it doesn’t see any of these definitions


dedbox
2018-3-21 23:31:59

@githree have you specified #:packages explicitly in your defmodule?


dedbox
2018-3-21 23:32:30

@defmodule[texmath #:packages ("texmath")]


githree
2018-3-21 23:35:27

I have just tried this but unfortunately it didn’t help


dedbox
2018-3-21 23:38:14

D’oh! Another guess: have you tried deleting the old output directory, doc?


dedbox
2018-3-21 23:38:38

I seem to remember having this problem once before and it was something basic I overlooked.


githree
2018-3-21 23:44:56

thanks for ideas - I have just tried to remove anything generated (doc compiled etc.) still no effect


githree
2018-3-21 23:45:38

it seems after few hours trying to resolve it I will try to rebuild new package from scratch as I am out of ideas


githree
2018-3-21 23:46:03

still it would be good to know what’s happening


githree
2018-3-21 23:46:23

just in case I will try with different name


githree
2018-3-21 23:46:43

for the package


githree
2018-3-22 01:31:13

no clue what was wrong but I got it working now with new package


notjack
2018-3-22 03:31:32

@githree maybe you were missing a (require (for-label whatever))? This has frustrated me before as well


dmitryhertz
2018-3-22 06:20:29

Hello everyone!


dmitryhertz
2018-3-22 06:21:49

I write a scribble doc and there’s a question. How can I describe an optional argument in @defproc?


dedbox
2018-3-22 06:48:07

@dmitryhertz you can add a default value to the end of an argument definition inside the @defproc


dmitryhertz
2018-3-22 06:48:34

Woo-hoo! Thank you very much!:+1:


dedbox
2018-3-22 06:49:02

:grin: