archive-org.com » ORG » I » IOKE.ORG

Total: 746

Choose link from "Titles, links and description words view":

Or switch to "Titles and links view".
  • Kind: DefaultBehavior
    really ought to write documentation for these methods but I don t know how to describe what they do argAt n evaluates and returns the argument at n this is just a short hand for call message evalArgAt n call ground show source method n message evalArgAt n ground arguments returns a list of all the unevaluated arguments currentContext returns the currently executing context evaluatedArguments returns a list of the

    Original URL path: https://ioke.org/dok/latest/kinds/Call.html (2016-02-13)
    Open archived version from archive


  • Kind: DefaultBehavior
    a second argument of code is given evaluates this only when an error is encountered and uses the result to return if everything works as expected ignore will just return the result of the first evaluation show source macro argCount call arguments length cond argCount 1 protectedCode call arguments 0 bind rescue self fn c nil protectedCode evaluateOn call ground call ground argCount 2 protectedCode call arguments 0 otherwiseCode call

    Original URL path: https://ioke.org/dok/latest/kinds/Condition.html (2016-02-13)
    Open archived version from archive

  • Kind: DefaultBehavior
    Mimics Condition Inactive cells kind text Active cells noticeFor obj Specs Inactive cells details kind Condition Error text condition reported Active cells details noticeFor obj nil show source method obj bind rescue Condition Error fn c obj kind if obj

    Original URL path: https://ioke.org/dok/latest/kinds/Condition/Error.html (2016-02-13)
    Open archived version from archive

  • Kind: DefaultBehavior
    Origin Inactive cells kind Active cells subtrahend other inspect notice now Specs Inactive cells details kind DateTime Active cells details subtrahend Expects to get one DateTime as argument and returns the difference between this instant and that instant in milliseconds other returns true if the left hand side datetime is equal to the right hand side datetime inspect Returns a text inspection of the object notice Returns a brief text

    Original URL path: https://ioke.org/dok/latest/kinds/DateTime.html (2016-02-13)
    Open archived version from archive

  • Kind: DefaultBehavior
    cells show source method cellDescriptions cellDescriptionDict vals cellDescriptions keys sort map k list k cellDescriptions k cell self notice 28s s n format vals genSym returns a new unique symbol every time called The symbol will be quite unreadable and uses a closure to generate a new number every time that is independent from external state show source fnx GS n inspect returns a longer description of the receiver in

    Original URL path: https://ioke.org/dok/latest/kinds/DefaultBehavior.html (2016-02-13)
    Open archived version from archive

  • Kind: DefaultBehavior
    nil except nil joinPoints Specs Inactive cells details inspect DefaultBehavior Aspects kind DefaultBehavior Aspects notice DefaultBehavior Aspects Active cells details after matching nil except nil joinPoints nil show source method matching nil except nil joinPoints Pointcut with receiver self joinPoints joinPoints matching cell matching except except type after around matching nil except nil joinPoints nil show source method matching nil except nil joinPoints Pointcut with receiver self joinPoints joinPoints matching

    Original URL path: https://ioke.org/dok/latest/kinds/DefaultBehavior/Aspects.html (2016-02-13)
    Open archived version from archive

  • Kind: DefaultBehavior
    Inactive cells details inspect DefaultBehavior Case kind DefaultBehavior Case notice DefaultBehavior Case Active cells details case value elseCode nil whensAndThens takes one argument that should evaluate to a value zero or more whenAndThen pairs and one optional else clause will first evaluate the initial value then check each whenAndThen pair against this value if the when part of a pair returns true then return the result of evaluating the then part if no pair matches and no else clause is present returns nil if an else clause is there it should be the last one each whenAndThen pair is comprised of two arguments where the first is the when argument and the second is the then argument the when part will be evaluated and the result of this evaluation will be sent a message with the value as argument case and args nil show source method args DefaultBehavior Case AndCombiner with components args case else nil show source method DefaultBehavior Case Else case nand first args nil show source method first args DefaultBehavior Case NAndCombiner with first first components args case nor first args nil show source method first args DefaultBehavior Case NOrCombiner with first first components args case not

    Original URL path: https://ioke.org/dok/latest/kinds/DefaultBehavior/Case.html (2016-02-13)
    Open archived version from archive

  • Kind: DefaultBehavior
    Condition Error Default if no rescue or restart is invoked error will report the condition to System err and exit the currently running Ioke VM this might be a problem when exceptions happen inside of running Java code as callbacks and so on if System currentDebugger is non nil it will be invoked before the exiting of the VM the exit can only be avoided by invoking a restart that means that error will never return findRestart nameOrRestart takes either a name as a symbol or a Restart instance if the restart is active will return that restart otherwise returns nil handle conditionsAndAction takes zero or more arguments that should evaluate to a condition mimic this list will match all the conditions this Handler should be able to catch the last argument is not optional and should be something activatable that takes one argument the condition instance will return a Handler mimic invokeRestart nameOrRestart arguments takes either a name as a symbol or a Restart instance if the restart is active will transfer control to it supplying the rest of the given arguments to that restart rescue conditionsAndAction takes zero or more arguments that should evaluate to a condition mimic this list will match all the conditions this Rescue should be able to catch the last argument is not optional and should be something activatable that takes one argument the condition instance will return a Rescue mimic restart name nil report nil test nil action takes one optional unevaluated parameter this should be the first if provided that is the name of the restart to create this will default to nil takes two keyword arguments report and test These should both be lexical blocks if not provided there will be reasonable defaults the only required argument is something that evaluates

    Original URL path: https://ioke.org/dok/latest/kinds/DefaultBehavior/Conditions.html (2016-02-13)
    Open archived version from archive



  •