I'm a bit surpised...
I want to flatten a collection with 'mixed' entries, like this one {{1. 2. 3}. 4} -> {1. 2. 3. 4}
However it appears that #flatten does not work, because it expects that all elements in the collection are themselves collections.
so
{{1. 2. 3}. {4}} flatten -> {1. 2. 3. 4} works
but
{{1. 2. 3}. 4} flatten -> raises error because of a dnu on 4
Anyone knows the right method which would work for my case?
--
Simon Denier
Status: New
Owner: tudor.gi...(a)gmail.com
Labels: Type-Defect Priority-Medium Component-Glamour Milestone-4.3
New issue 518 by tudor.gi...(a)gmail.com: DynamicPresenatation needs to be
rendered explicitly so that it can be updated
http://code.google.com/p/moose-technology/issues/detail?id=518
We cannot update the rendering of a dynamic presentation because it
delegates directly to the current presentation. It should have an explicit
rendering that can take care of updating as well.
Status: New
Owner: ----
Labels: Type-Enhancement Priority-Medium Component-Glamour
New issue 517 by tudor.gi...(a)gmail.com: Glamour should support both text
and icon in the label
http://code.google.com/p/moose-technology/issues/detail?id=517
Currently, if a presentation has titleIcon, the title is only shown as a
balloon help. It should be possible to have both the icon and the title.
So, we should have an extra explanation field in the presentation and
display the title next to the icon.
Hi all,
Is there an easy way to define the equivalent of
the following regular expression in PetitParser?
a{n,}
which that the character 'a' must appear at least n times.
Thank you!
Cheers,
Alberto
Status: New
Owner: ----
Labels: Type-Enhancement Priority-Medium Component-Glamour
New issue 515 by tudor.gi...(a)gmail.com: Add actions triggered by
transmissions
http://code.google.com/p/moose-technology/issues/detail?id=515
It would be interesting to have actions that are triggered when a certain
port is populated. Perhaps the simplest way would be to have a special
ActionPort that is managed by the presentation and that results in
executing the action associated with the port.
Such a mechanism could be used to implement some smart behavior, such as
automatic saving of content during editing, or it can be used to instrument
transmissions for analysis purposes.
PPRepeatingParser is indeed how the 'plus' method is implemented for example.
The problem is that, by specifying
#letter asParser
I accept any kind of letter, thus
#letter asParser plus
accepts any number of any kind of letters.
The problem is that I need to accept only multiple occurrences of the same letter :)
I could do something like:
$a asParser plus / $b asParser plus / ...
but that's not really nice code :)
Anyway, thanks for the help!
On Feb 3, 2011, at 1:38 PM, Fabrizio Perin wrote:
> Hi,
> I did never use it but i found in PetitParser-Parsers this parser PPRepeatingParser that maybe can solve your problem.
>
> Cheers,
>
> Fabrizio
>
> On 3 Feb 2011, at 13:09, sback wrote:
>
>>
>> To be more precise,
>> I cannot use
>>
>> #letter plus
>>
>> because this would imply that I can both parse:
>>
>> 'aa', which is correct; but also:
>> 'ab', which is not correct.
>>
>> I need a way to specify that I want the same letter, or character, to be
>> repeated.
>>
>> Thank you,
>> Alberto
>> --
>> View this message in context: http://moose-dev.97923.n3.nabble.com/PetitParser-same-character-multiple-ti…
>> Sent from the moose-dev mailing list archive at Nabble.com.
>> _______________________________________________
>> Moose-dev mailing list
>> Moose-dev(a)iam.unibe.ch
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
>
> _______________________________________________
> Moose-dev mailing list
> Moose-dev(a)iam.unibe.ch
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Hi,
I noticed that the new MooseWeb repository is under BSD. Is that intentional? I am asking because all packages newly developed are under MIT.
Cheers,
Doru
--
www.tudorgirba.com
"Presenting is storytelling."
Updates:
Labels: -Milestone-4.2 Milestone-4.3
Comment #7 on issue 175 by tudor.gi...(a)gmail.com: Rename in
Famix-Extensions "referenced/referencing" to "invoked/invoking"
http://code.google.com/p/moose-technology/issues/detail?id=175
This should go away when MooseChef is integrated. I would close it for now.
Updates:
Cc: anquetil.nicolas
Comment #5 on issue 57 by jannik.l...(a)gmail.com: [FAMIX] code the LAN
sample model in Java for reference and test
http://code.google.com/p/moose-technology/issues/detail?id=57
(No comment was entered for this change.)