What you use it for depends on where you're going with it. In your AGI architecture you may have a need to chunk activatedconcepts or percepts. Then, for example, you could call (new concept :elements (chunk (activated-items))) at some point. It's your design. You tell me how you'd use it. ~PM Date: Wed, 9 Apr 2014 18:35:21 -0700 Subject: Re: [agi] Premise function of the day: Chunk From: [email protected] To: [email protected]
Not sure I get what you are trying to say. The random,pick and chunk functions are simple enough. I presume the chunk referred to is how much you can hold in your conscious attention because that is where I know 7 +- 2 and those individuals relation from. So why is picking a churk sized set thinks randomly from a larger set of interest? Where are you going with it? Hopefully the brain isn't just focusing on random things although often mine feels as if it is. :) On Wed, Apr 9, 2014 at 8:57 AM, Piaget Modeler <[email protected]> wrote: function chunk {?list} (pick (+ 7 (random -2 2)) ?list) end Out of curiosity, why do you adopt S-expressions only partially in the language syntax? Cheers,Telmo. For style, and clarity Telmo -- and so we don't get bored. Visually, the above format is easier to parse. We call S-Expressions "forms". To invoke any function you need a form. But certain definitions like module or function definitions can be made as statements (see above) and not forms. Note that these statements can also be written as forms. We could just as easily write (function chunk {?list} (pick (+ 7 (random -2 2)) ?list)) which would be also recognized by the evaluator as a valid expression. Also note that forms, surrounded by parentheses ( ), are different from lists,which are surrounded by braces { }. Cheers, Michael. / ~ PM AGI | Archives | Modify Your Subscription AGI | Archives | Modify Your Subscription ------------------------------------------- AGI Archives: https://www.listbox.com/member/archive/303/=now RSS Feed: https://www.listbox.com/member/archive/rss/303/21088071-f452e424 Modify Your Subscription: https://www.listbox.com/member/?member_id=21088071&id_secret=21088071-58d57657 Powered by Listbox: http://www.listbox.com
