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
Use the typical printing functions from Clojure. (print, println, pr and prn)
Our printf function only accepts a single string as an argument. Not sure if the FFI can handle the full signature for printf yet. Also, printf returns the number of bytes written, which might contribute to the confusing output.
clojure has printf, too and it works like it supposed to. pixie's printf accepts more than one argument
e.g. (printf "%d and %d" 42 43). It's just not the output that one expects.
(printf "%s and %s" 42 43) segfaults.
Activity
heyLu commentedon Oct 31, 2015
Use the typical printing functions from Clojure. (
print,println,prandprn)Our
printffunction only accepts a single string as an argument. Not sure if the FFI can handle the full signature forprintfyet. Also,printfreturns the number of bytes written, which might contribute to the confusing output.pfefferminz132 commentedon Oct 31, 2015
clojure has printf, too and it works like it supposed to. pixie's printf accepts more than one argument
e.g. (printf "%d and %d" 42 43). It's just not the output that one expects.
(printf "%s and %s" 42 43) segfaults.