ok
ok copied to clipboard
🆗 - a strongly-duck-typed language.
The following does not work because the parser doesn't understand immediatly invoked closures: ``` assert(func() {}() raise error.Error) ```
The following causes a stack overflow: ``` if json[i] == '{' or json[i] == '}' or json[i] == '[' or json[i] == ']' or json[i] == ':' { ``` However,...
The parser seems to think the string is not terminated in the case of: ``` assert("" == "\{\"\}") ```
The following code causes the parser into an infinite loop: ``` if a == string { ```
`ok test -help` shows the general help instead of the test specific help.
This causes the parser into an infinite loop: ``` assert(output == [ "DEBUG debug message", "INFO info message", "WARN warning message", "ERROR error message", "FATAL fatal message", ]) ``` Without...
The follow panics: ``` print("{time.Now().String()} {strings.PadLeft(level, " ", 5)} {message}") ``` Whereas the more verbose version does not: ``` level = strings.PadLeft(level, " ", 5) print("{time.Now().String()} {level} {message}") ``` See...
@elliotchance @gitter-badger Have you planned to add REPL?
Cos, sin, tan etc have not been implemented because they are not available in the apd library. I would rather not estimate these with floating-point. If you know how to...