Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

changed example to handle arrays instead of strings

  • Loading branch information...
commit 32dd7859e2d0135b7158ce6ee9e81a7022cb9554 1 parent 5c95c28
niclashoyer authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. +2 2 examples/zeros.coffee
4 examples/zeros.coffee
@@ -21,10 +21,10 @@ delta =
21 21 t = new Turer ['0'], ['0'], '>', '˽', ['q0','q1'], 'q0', delta
22 22
23 23 t.on 'input', (word) ->
24   - console.log "INPUT: "+word
  24 + console.log "INPUT: "+word.join ''
25 25
26 26 t.on 'output', (word) ->
27   - console.log "OUTPUT: "+word
  27 + console.log "OUTPUT: "+word.join ''
28 28
29 29 t.on 'write', (symbol) ->
30 30 console.log "WRITE: "+symbol

0 comments on commit 32dd785

Please sign in to comment.
Something went wrong with that request. Please try again.