JanetDocsPlaygroundI'm feeling luckyGitHub sign in
# note, if running a server from the repl, you need to (quit) your repl. # in a terminal: # $ while true; do date | nc 0.0.0.0 1234 -w 1; sleep 1; done # in a janet repl: (net/server "0.0.0.0" 1234 (fn [conn] (prin (net/read conn 4096)) (net/close conn))) # output doesn't actually start until you (quit) your repl's fiber: (quit)