User Activity

  • Posted a comment on ticket #617 on FMSLogo

    It's not just DEFINE, TO acts the same way. TO BAD_PROC :a 1 [:b 2] OUTPUT LIST :a :b END BAD_PROC 10 b has no value in BAD_PROC [OUTPUT LIST :a :b] (BAD_PROC 10) b has no value in BAD_PROC [OUTPUT LIST :a :b] (BAD_PROC 10 20) too much inside ()'s I guess you could interpret "if the default parameter number is given, it must be last" as "wherever the default parameter number is, that is the end of the parameter list". But it would be nice if trying to define a procedure like this raised an error...

  • Posted a comment on ticket #619 on FMSLogo

    Another interesting corner case: TO FOO OP [{1}] END SETITEM 1 FIRST FOO 2 SHOW FOO I don't think it's possible to do "what the programmer intended" every time, so maybe the behavior should just be documented. There are workarounds to get the other behavior in either case (wrap in a list literal or unwrap into a LIST invocation).

  • Posted a comment on ticket #619 on FMSLogo

    Is this really a bug? It might be simpler to call this intended behavior, because the array is turned into a literal. The desired behavior can be achieved using RUN (LIST "SETITEM 1 ":array 2).

  • Posted a comment on ticket #598 on FMSLogo

    If quoted was a primitive, it could just call maybe_quote... If backtick was a primitive, making performant macros would be so much easier...

  • Posted a comment on ticket #598 on FMSLogo

    I spotted an interesting idiom in the new dequeue implementation! Is [first [x]] the most efficient way to construct a value that evaluates to x when fed into run regardless of the type of x? Better than using quoted?

  • Posted a comment on ticket #602 on FMSLogo

    Copying the arguments into a new list would nullify all the sound uses of the argument modification pattern, like preserving invisible modifications like string interning and conversions to numbers.

  • Created ticket #602 on FMSLogo

    MEMBERP and SUBSTRINGP unsoundly modify their arguments

  • Modified a comment on ticket #598 on FMSLogo
View All

Personal Data

Username:
viliml
Joined:
2012-08-12 08:52:34

Projects

  • No projects to display.

Personal Tools