Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

changed example to handle arrays instead of strings

  • Loading branch information...
commit 32dd7859e2d0135b7158ce6ee9e81a7022cb9554 1 parent 5c95c28
Niclas Hoyer authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 examples/zeros.coffee
4 examples/zeros.coffee
View
@@ -21,10 +21,10 @@ delta =
t = new Turer ['0'], ['0'], '>', '˽', ['q0','q1'], 'q0', delta
t.on 'input', (word) ->
- console.log "INPUT: "+word
+ console.log "INPUT: "+word.join ''
t.on 'output', (word) ->
- console.log "OUTPUT: "+word
+ console.log "OUTPUT: "+word.join ''
t.on 'write', (symbol) ->
console.log "WRITE: "+symbol
Please sign in to comment.
Something went wrong with that request. Please try again.