Scott Santucci

Results 72 comments of Scott Santucci

Good catch about `currentTest.ctx` -- that *should* be the `this` of the nested test, the very thing I expected the hook's `this` to be but it isn't. I *think* that...

> Good points... in RSpec's let your memoized function block is not allowed to have any parameters, so it's just memoized by name, but to balance that, the block itself...

I love when one solution addresses many needs! Would this be an alternative to the GADT and functor implementations? Or would those become alternative default implementations under this design? I...

I'm always surprised that isn't universally a thing, myself. Seems like what you described is both logical and is what all the most mature programs trend towards, but so often...

Would there be any value in, and would it be feasible to implement, optional delimiters or multiple choices of delimiter? (I'm not currently planning to use such a thing, just...

Would there be any use case for separating whether keywords are case-insensitive from whether token types are case-insensitive? For instance, strings are tokens and usually they should record the case...

(I realize `'` is used by Char, but I don't happen to be using Char. And, I could always change it to backticks or something if I ended up needing...

Relatedly, do the content of strings need to be unescaped (e.g. `\" -> "` and `\\ -> \`) or does the parser also handle that? Could the parser handle it...

Thanks for the clarification @andreasabel ! Do you think it would be difficult to add either a directive to the grammar such as `quoted '' '' "" token …` or,...

I tried patching the lexer like so based on the string handling: ```patch diff --git a/src/MyPackage/Lex.x b/src/MyPackage/Lex.x index 1234567..1234567 100644 --- a/src/MyPackage/Lex.x +++ b/src/MyPackage/Lex.x @@ -25,19 +25,19 @@ $u =...