You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add datalog example to RacketScript playground? #268
Good idea. I can't get it to work because we don't support imaginary numbers at the moment. Though I'm not sure why datalog needs them. Will look into it.
They are from the contract library -- racket/collects/racket/contract/private/generate-base.rkt.
Supposing this problem is fixed, there's still another problem at run-time: TypeError: M3.hash_for_each is not a function in the racket/pretty's compiled module.
Activity
spdegabrielle commentedon Nov 17, 2021
I saw @samphilips demo of compiling rhombus to RacketScript and I was wondering if examples in other
#lang’s are possible?stchang commentedon Nov 17, 2021
Good idea. I can't get it to work because we don't support imaginary numbers at the moment. Though I'm not sure why datalog needs them. Will look into it.
sorawee commentedon Nov 17, 2021
They are from the contract library --
racket/collects/racket/contract/private/generate-base.rkt.Supposing this problem is fixed, there's still another problem at run-time:
TypeError: M3.hash_for_each is not a functionin theracket/pretty's compiled module.stchang commentedon Nov 17, 2021
hash-for-eachshould be easy enough to add.stchang commentedon Nov 19, 2021
I'm also seeing a failure on call to
make-semaphore. Does anyone know if contracts are multi-threaded?