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
I'm trying to feed in (read-line) then input the value and print the result. Unfortunately the input does not get assigned to aba. What I'm doing wrong?
nreplClient=require'nrepl-client'PORT=49653client=nreplClient.connect(port: PORT)
client.once'connect', () ->expr='(def aba (read-line)) (def doo (read-line))'client.eval expr, (err, result) ->console.log(expr, err or result)
client.stdin"5\n", (err, result) ->console.log('5', err or result)
client.eval'(str "hello" aba)', (err, result) ->console.log('(str "hello" aba)', err or result)
client.end()
client.on"error", (err) ->console.error("error in nREPL client connection: ", err)
The text was updated successfully, but these errors were encountered:
I'm trying to feed in (read-line) then input the value and print the result. Unfortunately the input does not get assigned to aba. What I'm doing wrong?
The text was updated successfully, but these errors were encountered: