IRC Logs for #io Sunday, 2013-11-17

*** gatesphere has joined #io00:07
prologichehe00:54
prologiccan I ask why? :)00:54
*** hashmal has quit IRC02:01
*** mkroehnert has quit IRC02:10
*** gatesphere has quit IRC04:09
*** nisstyre has quit IRC04:48
*** nisstyre has joined #io06:50
*** asie has joined #io07:02
*** asie has quit IRC07:17
*** asie has joined #io07:17
*** asie has quit IRC07:35
*** quag_ has quit IRC07:58
*** asie has joined #io07:58
*** asie has quit IRC08:25
*** asie has joined #io08:37
*** nisstyre has quit IRC08:39
*** asie has quit IRC08:49
*** asie has joined #io08:55
*** hashmal has joined #io09:31
*** asie has quit IRC10:58
*** mkroehnert has joined #io11:53
*** asie has joined #io12:25
*** gatesphere has joined #io13:06
*** gloots has joined #io13:24
*** gloots has quit IRC13:25
*** gloots has joined #io13:25
*** gloots has quit IRC13:29
*** gloots has joined #io13:31
glootsHello13:32
glootsI am sorry if I do this wrong, i have never before used irc and want to ask some help with the io language.13:33
glootsI am a new using io, following the IO programming guide.13:34
glootsOne of the examples given in the guide is about the while statement13:34
glootsspecifically13:34
glootsa := 1 while(a < 10,      a print     a = a + 1 )13:34
glootsWhen i try it in emacs or from a terminal, i get an continues loop print 1 and have to kill the buffer in emacs or ctrl c (break) in the terminal.13:36
glootswhat am I doing wrong?13:38
*** gloots_ has joined #io13:45
asiegloots_: you have enters there, right?13:53
gloots_I am sorry, i am new to irc, so please forgive me if am doing it wrong13:56
gloots_i just started with IO (following the Programming Guide) and wanted to ask help. On the iolanguage.org website I found the reference to irc.13:58
gloots_Ah now I understand your question. Yes I have enters both in emacs as in io started in a terminal.13:59
gloots_I tested it in a file using #!/usr/bin/env io and then it worked.14:00
gloots_But when using in emac (io-run-io and the select the region, and io-eval-region (or buffer) it does not work. but also in io started in a terminal it does not work (indefinite loop printing 1 's).14:02
asiewierd14:03
asieworks for me14:03
asieyou need to use either enters or ; to delimit separate commands14:03
gloots_In io in the terminal I do the follwing:14:04
gloots_a := 014:04
gloots_while (a < 10,14:04
gloots_ . . . a print14:05
gloots_ . . . a = a + 114:05
gloots_)14:05
gloots_it suggest that enters are there (. . .) and I used enters14:05
gloots_In the terminal IO i get the following exceptionn:14:07
gloots_  Exception: Slot printa not found. Must define slot using := operator before updating.14:07
gloots_  ---------14:07
gloots_  message 'updateSlot' in 'Command Line' on line 114:07
gloots_I have tried using the ; as you suggested and it worked.14:08
gloots_.. in the terminal io.14:08
gloots_Also if I put in the ; to delimit a print and a = a + 1 in emacs and then perform io-eval-region it works.14:12
gloots_Does this mean the the ; must always be used or only when using inferior-io in emacs and terminal io? Do I need to remove them when using with #!/usr/bin/env io?14:13
gloots_I have to go. Thanks you helping me out so far!14:27
*** gloots_ has quit IRC14:27
*** codecurve has joined #io14:36
codecurveHey folks, calling reduce on a string. Is there a way to do this, other than converting to a list by hand?14:37
*** gatesphere has quit IRC14:41
*** hashmal has quit IRC14:42
*** asie has quit IRC14:49
*** gatesphere has joined #io14:50
*** asie has joined #io14:51
*** hashmal has joined #io15:09
*** gatesphere has quit IRC15:16
*** asie has quit IRC15:35
*** asie has joined #io15:42
*** gatesphere has joined #io15:52
*** asie has quit IRC16:47
*** asie has joined #io16:48
*** Raimondi has quit IRC16:49
*** OpenSpace has quit IRC17:12
*** asie has quit IRC17:37
*** gatesphere has quit IRC17:39
*** asie has joined #io17:44
*** gatesphere has joined #io17:50
*** gatesphere has quit IRC18:04
*** fredreichbier has joined #io18:06
*** OpenSpace has joined #io18:09
*** Raimondi has joined #io18:46
*** gatesphere has joined #io19:01
*** asie has quit IRC19:06
*** asie has joined #io20:00
*** asie has quit IRC20:05
*** fredreichbier has quit IRC20:21
*** asie has joined #io20:26
*** OpenSpace has quit IRC20:31
*** gatesphere has quit IRC20:41
*** codecurve has quit IRC20:45
*** asie has quit IRC20:59
*** asie has joined #io21:07
prologicsure21:07
prologicdefine reduce on the String proto?21:07
*** asie has quit IRC21:30
*** fredreichbier has joined #io21:55
*** asie has joined #io22:17
*** asie has quit IRC22:22
*** fredreichbier has quit IRC23:03
*** nisstyre has joined #io23:45

Generated by irclog2html.py 2.11.0 by Marius Gedminas - find it at mg.pov.lt!