print-str, print-i64, print-f64, print-bytes, print-line and newline leave the prelude. print and println are the whole printing surface now, and print is the better call at every one of the sites that used them: it is the same structural walk without the newline, so the no-newline case the family was kept for is covered, and it takes the value as it is. The old print-i64 forced an explicit (i64 x) at every call site, because this language widens nothing implicitly; that cast is gone from 127 places. Dropping it moves one answer. hash-grid returns u64, and the cast through the signed printer showed sand-headless's hash as -2851001042534928384. print routes a u64 through flan_u64_to_bytes, so it now prints 15595743031174623232 — the same 64 bits, read as the unsigned number they are. The pinned expectation follows the correction. test-flan-dev.el and test_session.ml both reached for print-line as "a name the prelude has"; they reach for rand-seed instead.
13 lines
414 B
Plaintext
13 lines
414 B
Plaintext
;;;; A package imported and never called into.
|
|
;;;;
|
|
;;;; raylib is here, so before Reach.link this program linked libraylib — and
|
|
;;;; on wasm32 it could not be built at all. The link now follows what the
|
|
;;;; program reaches rather than what it imports, so main's one print is the
|
|
;;;; whole of it and the same file builds for both targets.
|
|
|
|
(import rl "vendor:raylib")
|
|
|
|
(defn main [] i32
|
|
(println "ok")
|
|
0)
|