Search the web
Sign In
New User? Sign Up
langsmiths · Language Smiths
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 2192 - 2221 of 2746   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
2192
... the ... function ... the ... can ... two ... Just curious here, but if a, b and c are streams, how does a + b followed by a + c evaluate (probably in the...
rapl_lang
Offline Send Email
Nov 1, 2004
12:19 pm
2193
... Well in my language you don't usually add streams, you add "patterns". Patterns are factories for streams, so it ends up being purely functional and you...
James McCartney
james_e_mcca...
Offline Send Email
Nov 1, 2004
5:00 pm
2194
... Earlier you talked about passing generator type things as arguments to functions, do you mean passing streams or patterns? ... Surely c.next is a...
rapl_lang
Offline Send Email
Nov 3, 2004
1:18 pm
2195
... ideally either one. With patterns the operations would functionally compose. ... Yes c.next is imperative. But asStream is always the last step, after you...
James McCartney
james_e_mcca...
Offline Send Email
Nov 3, 2004
5:36 pm
2196
... Backtracking in Icon is different to producing another value from a coexpression: A := create 1 to 4 B := create 1 to 3 while write(@A + @B) will write 2,...
rapl_lang
Offline Send Email
Nov 3, 2004
7:13 pm
2197
... {} is the syntax for a function - lexical closure. 'r' is a method on the function object that returns an instance of Routine, which is a co-routine. more...
James McCartney
james_e_mcca...
Offline Send Email
Nov 3, 2004
10:32 pm
2198
... OK so this is a crucial distinction that I missed. So you are saying that every op(@create A, @create B) is different than: every op(A, B) hmm. I'll have...
James McCartney
james_e_mcca...
Offline Send Email
Nov 3, 2004
11:53 pm
2199
... This is not at all how monads or arrows work. No monad conceptually is imperative; it's all purely functional. Most monads don't seem like they're ...
Daniel Ehrenberg
littledanehren
Offline Send Email
Nov 5, 2004
2:08 am
2200
... what if the stream is a coroutine and next means resuming that coroutine? ... The problem with this is it is very inefficient. Patterns allow me to compose...
James McCartney
james_e_mcca...
Offline Send Email
Nov 5, 2004
8:08 am
2201
... So the following two examples have different behaviour in Icon : procedure main(args) every write( ((1 to 3) | (10 to 30 by 10)) ) end 1 2 3 10 20 30 ...
James McCartney
james_e_mcca...
Offline Send Email
Nov 5, 2004
8:08 am
2202
... It's true in most (all?) useful languages in some form. Take some Ruby code (which I don't know how to translate into SC, but it shouldn't be that hard): ...
Daniel Ehrenberg
littledanehren
Offline Send Email
Nov 5, 2004
12:30 pm
2203
... Does this have to modify the original coroutine? Why are you making it a coroutine anyway and not just a lazylist? ... I find this hard to belive. SC is...
Daniel Ehrenberg
littledanehren
Offline Send Email
Nov 5, 2004
12:35 pm
2204
... contrived ... OK this doesn't work: procedure or(a, b) return (a | b) end procedure main(args) every write( or{(1 to 3), (10 to 30 by 10)} ) end Run-time...
James McCartney
james_e_mcca...
Offline Send Email
Nov 5, 2004
5:00 pm
2205
... I don't have call/cc. ... what would be at the head of the lazy list? a coroutine. I know of no other way of suspending a computation. ... I'm not sure...
James McCartney
james_e_mcca...
Offline Send Email
Nov 5, 2004
5:17 pm
2206
... "Conceptually" or not, some point Haskell has to mutate the state of an I/O device, or it will get nothing done. So Haskell does use monads to hide...
James McCartney
james_e_mcca...
Offline Send Email
Nov 5, 2004
6:04 pm
2207
... What does that have to do with it? ... Lazy lists are usually constructed with recursion, or other functions where the computation boils down to recursion....
Daniel Ehrenberg
littledanehren
Offline Send Email
Nov 5, 2004
11:33 pm
2208
... That doesn't seem contrived to me. I think you just don't grok Icon's execution model. ... What do you mean, "achieve the same thing"? Isn't that achieving...
Daniel Ehrenberg
littledanehren
Offline Send Email
Nov 5, 2004
11:38 pm
2209
... if you want to get the next value by resuming a co-routine and yet have an unmodified version of it, then you need to capture the continuation. ... Yes I...
James McCartney
james_e_mcca...
Offline Send Email
Nov 9, 2004
10:46 am
2210
... I understand the call mechanism well enough to implement it. I don't understand how to use that call mechanism and the create and @ operations well enough...
James McCartney
james_e_mcca...
Offline Send Email
Nov 9, 2004
10:56 am
2211
... this could be written as procedure or(x) while suspend @x[1] while suspend @x[2] end However in order to do what I think it is you want to do, you need to ...
rapl_lang
Offline Send Email
Nov 9, 2004
1:09 pm
2212
... Using goal directed evaluation is another way of suspending a computation. In fact the version of Wrapl I'm working on now uses only one stack to allocate...
rapl_lang
Offline Send Email
Nov 9, 2004
1:16 pm
2213
Kokogut is a compiler of the Kogut language written in itself. http://kokogut.sourceforge.net/ New in Kokogut-0.5.1 (10 November 2004), a release with Tetris: ...
Marcin 'Qrczak' Kowal...
qrczak2
Offline Send Email
Nov 10, 2004
2:18 pm
2214
... (If I understand what you're saying,) Kogut solves this problem by having two datatypes for non-strict collections: Lazylists and generators. Generators...
Daniel Ehrenberg
littledanehren
Offline Send Email
Nov 10, 2004
3:51 pm
2215
... Unfortunately conflating them with collections had a bad side effect. When I implemented integration with Python, including translation of iteration...
Marcin 'Qrczak' Kowal...
qrczak2
Offline Send Email
Nov 10, 2004
5:20 pm
2216
... Hmm, maybe the right choice is to hide exhaustible generators behind uglier names, making the default names like 'ReadLinesFrom file' and...
Marcin 'Qrczak' Kowal...
qrczak2
Offline Send Email
Nov 10, 2004
6:04 pm
2217
I'm trying to find a way to iterate through all slots of an object and it's protos. Going up the chain is easy, but I need to watch so I don't print duplicate...
Mike Austin
mike_ekim
Offline Send Email
Nov 18, 2004
3:24 am
2218
Sorry, wrong mailing list! Intented for iolanguage@yahoogroups.com. Mike...
Mike Austin
mike_ekim
Offline Send Email
Nov 18, 2004
3:43 am
2219
ok, I am back now. recently, I have not really been keeping up on the recent thread (it didn't seem that interesting to me so I stopped reading it...). also,...
cr88192
Offline Send Email
Nov 21, 2004
2:49 pm
2220
just checking whether my mail will make a round trip .....
stevan apter
stevanapter
Offline Send Email
Nov 24, 2004
8:26 pm
2221
Hi... I want to publish my works as electronic books. Do you know any software that lets me to do that? Mohammed...
Mohammed
mohammedderh...
Offline Send Email
Dec 18, 2004
2:55 pm
Messages 2192 - 2221 of 2746   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help