[racket-users] How to setup the #%module-begin form with the type-expander lib or #lang typed/racket ?

2019-04-12 Thread Raoul Schorer
Hi, I'd like to expand to typed/racket syntax from my custom language (which for now contains only 0 and 1). Ultimately, I am trying to compile programs from the J language, which cannot be parsed and has no BNF. J parsing and execution is interleaved, and I am trying to circumvent that by spec

Re: [racket-users] Program aborts except when there are no previously compiled .zo files

2019-04-12 Thread Gustavo Massaccesi
It would be good if you can share a link to the code. It is difficult to guess where is the problem is with this information. Is there an online public repository with the code? If not, can you make a minimized version without all the classified/secret parts of the code? With a version of the code

Re: [racket-users] recursive function with multiple arguments

2019-04-12 Thread Matthias Felleisen
A bit of modernity yields this: (define (project-pop.v1 y r k thetasd t [i 1]) (cond [(= i t) (list y)] [else (define theta (flvector-ref (flnormal-sample 0.0 thetasd 1) 0)) (define y1 (* y (- r (* r (/ y k))) (exp theta))) (cons y (project-pop y1 r k thetasd t (+ i

[racket-users] Racket News - Issue 6

2019-04-12 Thread 'Paulo Matos' via Racket Users
Issue 6 is here. http://racket-news.com/2019/04/racket-news-issue-6.html It's cappuccino time, enjoy your weekend! -- Paulo Matos -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it

[racket-users] Program aborts except when there are no previously compiled .zo files

2019-04-12 Thread Dmitry Pavlov
Hello, My program demonstrates an unexpected behavior depending on how I run it. $ $ racket program.rkt $ raco make program.rkt $ racket program.rkt read: bad syntax `#fx' in: compiled/subprogram.mylang.zo context...: "/path/to/myprogram.rkt": [running body] temp37_0 for-loop