mirror of
https://github.com/edwinb/Idris2-boot.git
synced 2024-11-27 18:53:42 +03:00
Fix racket codegen
Need a require to get the system function
This commit is contained in:
parent
e027e0c434
commit
fb22e3de73
@ -33,6 +33,7 @@ schHeader : String -> String
|
|||||||
schHeader libs
|
schHeader libs
|
||||||
= "#lang racket/base\n" ++
|
= "#lang racket/base\n" ++
|
||||||
"(require racket/promise)\n" ++ -- for force/delay
|
"(require racket/promise)\n" ++ -- for force/delay
|
||||||
|
"(require racket/system)\n" ++ -- for system
|
||||||
"(require rnrs/bytevectors-6)\n" ++ -- for buffers
|
"(require rnrs/bytevectors-6)\n" ++ -- for buffers
|
||||||
"(require rnrs/io/ports-6)\n" ++ -- for file handling
|
"(require rnrs/io/ports-6)\n" ++ -- for file handling
|
||||||
"(require ffi/unsafe ffi/unsafe/define)\n" ++ -- for calling C
|
"(require ffi/unsafe ffi/unsafe/define)\n" ++ -- for calling C
|
||||||
|
Loading…
Reference in New Issue
Block a user