Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

kludge: copying the resource structure, because for some reason, some…

…thing bad is happening with regards to dynamic-require-for-syntax.
  • Loading branch information...
commit e6547a9aa21402646814f562da6ba99b16a585a0 1 parent d5c842c
Danny Yoo authored
Showing with 8 additions and 3 deletions.
  1. +1 −1  js-assembler/package.rkt
  2. +7 −2 resource/record.rkt
View
2  js-assembler/package.rkt
@@ -99,7 +99,7 @@
(source-resources
(MainModuleSource-source src))]
[(ModuleSource? src)
- empty #;(resource-query:query
+ (resource-query:query
`(file ,(path->string (ModuleSource-path src))))]
[(SexpSource? src)
empty]
View
9 resource/record.rkt
@@ -1,9 +1,14 @@
#lang racket/base
-(require racket/port
- "structs.rkt")
+(require racket/port)
+
(provide record-resource
get-records)
+
+;; Needs to be prefabricated
+(struct resource (path key) #:prefab)
+
+
(define records '())
(define (get-records)
Please sign in to comment.
Something went wrong with that request. Please try again.